Documentation ¶
Index ¶
- Variables
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Nested(fields ...interface{}) logger.Logger
- func Trace(args ...interface{})
- func Tracef(format string, args ...interface{})
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- func WithFields(fields ...interface{}) logger.MessageLogger
Constants ¶
This section is empty.
Variables ¶
View Source
var Log logger.Logger = discard.New()
Functions ¶
func Nested ¶
func Nested(fields ...interface{}) logger.Logger
Nested returns a new logger with hard coded key-value pairs
func Trace ¶
func Trace(args ...interface{})
Trace logs the given arguments at the trace logging level.
func Tracef ¶
func Tracef(format string, args ...interface{})
Tracef takes a formatted template string and template arguments for the trace logging level.
func WithFields ¶
func WithFields(fields ...interface{}) logger.MessageLogger
WithFields returns a message logger with multiple key-value fields.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.