Documentation
¶
Index ¶
- Variables
- func Debug(msg string)
- func Debugf(msg string, fields map[string]interface{})
- func Error(msg string)
- func Errorf(msg string, fields map[string]interface{})
- func Fatal(msg string)
- func Fatalf(msg string, fields map[string]interface{})
- func Info(msg string)
- func Infof(msg string, fields map[string]interface{})
- func SetLevel(level zerolog.Level)
- func Warn(msg string)
- func Warnf(msg string, fields map[string]interface{})
- func WithContext(fields map[string]interface{}) zerolog.Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = zerolog.New(zerolog.ConsoleWriter{Out: os.Stderr}).With().Timestamp().Logger().Level(zerolog.TraceLevel)
Logger is the global logger instance
Functions ¶
func WithContext ¶
WithContext returns a logger with additional context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.