Documentation
¶
Index ¶
- 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 GetLogFilePath() string
- func Info(msg string, fields map[string]interface{})
- func Initialize() error
- func SetMinLevel(level LogLevel)
- func Warn(msg string, fields map[string]interface{})
- type LogLevel
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogFilePath ¶
func GetLogFilePath() string
GetLogFilePath returns the path to the current log file
func SetMinLevel ¶
func SetMinLevel(level LogLevel)
SetMinLevel sets the minimum log level to record
Types ¶
Click to show internal directories.
Click to hide internal directories.