Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(message string, args ...interface{})
- func Error(message ...interface{})
- func Errorf(message string, args ...interface{})
- func Info(message ...interface{})
- func Infof(message string, args ...interface{})
- func Log(level LoggerLevel, args ...interface{})
- func Logf(level LoggerLevel, message string, args ...interface{})
- func SetLevel(_level LoggerLevel)
- type LoggerLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Log ¶
func Log(level LoggerLevel, args ...interface{})
func Logf ¶
func Logf(level LoggerLevel, message string, args ...interface{})
func SetLevel ¶
func SetLevel(_level LoggerLevel)
Types ¶
type LoggerLevel ¶
type LoggerLevel int
const ( DebugLevel LoggerLevel = iota InfoLevel ErrorLevel )
the smaller the level, the more logs.
Click to show internal directories.
Click to hide internal directories.