Documentation
¶
Overview ¶
Package log implements a logging interface.
Index ¶
- Variables
- func Debugf(format string, args ...interface{})
- func Error(err error)
- func InfoMaybeWithKeyf(key string, showKey bool, format string, args ...interface{})
- func InfoWithKeyf(key string, format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Quiet = false Verbose = false )
Logging options.
Functions ¶
func Debugf ¶ added in v0.1.0
func Debugf(format string, args ...interface{})
Debugf prints a debug level message.
func InfoMaybeWithKeyf ¶ added in v0.1.0
InfoMaybeWithKeyf prints an info level message optionally with prefixed key.
func InfoWithKeyf ¶ added in v0.1.0
InfoWithKeyf prints an info level message with prefixed key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.