Documentation ¶
Overview ¶
Package logger implements logging helpers.
Index ¶
- Variables
- func Debug(line string)
- func Debugf(format string, args ...interface{})
- func Debugw(msg string, keysAndValues ...interface{})
- func Disable()
- func Error(err error)
- func Fatal(format string, args ...interface{})
- func Info(msg string)
- func Infow(msg string, keysAndValues ...interface{})
- func Line()
- func Print(a ...interface{})
- func PrintJSON(v interface{})
- func Printf(format string, args ...interface{})
- func SetLogger(l *zap.Logger)
- func Sync() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Verbose - Enables logger Verbose mode. Verbose bool )
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf - Prints new formatted line if Verbose is true.
func Debugw ¶
func Debugw(msg string, keysAndValues ...interface{})
Debugw - Prints new formatted line.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.