Documentation
¶
Index ¶
- Variables
- func Debug(msg string, fields ...map[string]interface{})
- func Error(msg string, err error, fields ...map[string]interface{})
- func Fatal(msg string, err error, fields ...map[string]interface{})
- func Info(msg string, fields ...map[string]interface{})
- func InitLogger(verboseCount int)
- func IsInitialized() bool
- func Warn(msg string, fields ...map[string]interface{})
- func Writer(level zerolog.Level) io.Writer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Logger is the global logger instance Logger zerolog.Logger )
Functions ¶
func InitLogger ¶
func InitLogger(verboseCount int)
InitLogger initializes the global logger with the given verbosity level
func IsInitialized ¶
func IsInitialized() bool
IsInitialized returns true if the logger has been initialized
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.