Documentation ¶
Index ¶
- Constants
- func Debug(s string)
- func Debugf(format string, v ...interface{})
- func Error(s string)
- func Errorf(format string, v ...interface{})
- func Fatal(s string)
- func Fatalf(format string, v ...interface{})
- func Info(s string)
- func Infof(format string, v ...interface{})
- func New() *logger
- func NewLogger() *logger
- func SetLogLevel(level Level)
- func Warn(s string)
- func Warnf(format string, v ...interface{})
- type Level
Constants ¶
View Source
const ( LevelFatal = iota LevelError LevelWarning LevelInfo LevelDebug )
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(level Level)
Types ¶
Click to show internal directories.
Click to hide internal directories.