Documentation
¶
Index ¶
- Variables
- func Debug(msg string)
- func Error(msg string)
- func Fatal(msg string)
- func Get() *zerolog.Logger
- func Info(msg string)
- func Init(level string, pretty bool)
- func Warn(msg string)
- func WithComponent(component string) *zerolog.Logger
- func WithField(key string, value interface{}) *zerolog.Logger
- type LogLevel
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Logger is the global logger instance Logger zerolog.Logger )
Functions ¶
func WithComponent ¶
WithComponent returns a logger with a component field set
Types ¶
Click to show internal directories.
Click to hide internal directories.