log

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Quiet   = false
	Verbose = false
)

Functions

func Debug

func Debug(format string, args ...interface{})

Print a debug level message

func Error

func Error(err error)

Print an error level message

func Info

func Info(format string, args ...interface{})

Print an info level message

func InfoMaybeWithKey

func InfoMaybeWithKey(key string, showKey bool, format string, args ...interface{})

Print an info level message optionally with prefixed key

func InfoWithKey

func InfoWithKey(key string, format string, args ...interface{})

Print an info level message with prefixed key

func Warn

func Warn(format string, args ...interface{})

Print a warn level message

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL