Documentation ¶
Index ¶
- Constants
- func Async(msgLen ...int64)
- func Debug(f interface{}, v ...interface{})
- func Error(f interface{}, v ...interface{})
- func Fatal(v ...interface{})
- func GetLevel() int
- func Info(f interface{}, v ...interface{})
- func Register(name string, log newLoggerFunc)
- func SetLevel(level int)
- func SetLogFuncCall(b bool)
- func SetLogFuncCallDepth(d int)
- func SetLogger(adapter string, config ...string) error
- func Warn(f interface{}, v ...interface{})
- type Logger
Constants ¶
View Source
const ( LevelEmergency = iota LevelAlert LevelCritical LevelError LevelWarning LevelNotice LevelInformational LevelDebug )
RFC5424 log message levels.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.