Documentation ¶
Index ¶
- func Debug(msg string, fields ...LogField)
- func Error(err error, fields ...LogField)
- func Fatal(msg string, fields ...LogField)
- func Info(msg string, fields ...LogField)
- func NewLogger(name string, logFile string, logLevelName string, maxSize int, maxBackups int, ...)
- func Panic(msg error, fields ...LogField)
- func Warn(msg string, fields ...LogField)
- type LogField
- func Any(key string, value interface{}) LogField
- func Bool(key string, val bool) LogField
- func ByteString(key string, val []byte) LogField
- func Duration(key string, val time.Duration) LogField
- func Float32(key string, val float32) LogField
- func Float64(key string, val float64) LogField
- func Int(key string, val int) LogField
- func Int32(key string, val int32) LogField
- func Int64(key string, val int64) LogField
- func String(key string, val string) LogField
- func Time(key string, val time.Time) LogField
- func Uintptr(key string, val uintptr) LogField
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.