Documentation ¶
Overview ¶
Package log adds a thin wrapper around logrus to improve non-debug logging performance.
Index ¶
- func Debug(v interface{}, fielders ...Fielder)
- func Error(v interface{}, fielders ...Fielder)
- func Fatal(v interface{}, fielders ...Fielder)
- func Info(v interface{}, fielders ...Fielder)
- func SetDebug(to bool)
- func SetFormatter(to logrus.Formatter)
- func SetOutput(to io.Writer)
- func Warn(v interface{}, fielders ...Fielder)
- type Fielder
- type Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(v interface{}, fielders ...Fielder)
Debug logs at the debug level if debug logging is enabled.
Types ¶
Click to show internal directories.
Click to hide internal directories.