Documentation
¶
Index ¶
- Variables
- func SetGlobalLevel(level zerolog.Level)
- func SetModuleLevel(module string, level zerolog.Level)
- type Config
- type Formatter
- type Logger
- func (l *Logger) Debug(msg string)
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Error(msg string)
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Fatal(msg string)
- func (l *Logger) Fatalf(format string, args ...interface{})
- func (l *Logger) Info(msg string)
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Panic(msg string)
- func (l *Logger) Panicf(format string, args ...interface{})
- func (l *Logger) Trace(msg string)
- func (l *Logger) Tracef(format string, args ...interface{})
- func (l *Logger) Warn(msg string)
- func (l *Logger) Warnf(format string, args ...interface{})
- func (l *Logger) WithField(key string, value interface{}) *Logger
- func (l *Logger) WithFields(fields map[string]interface{}) *Logger
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildVersion string
Functions ¶
func SetGlobalLevel ¶
func SetModuleLevel ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.