Documentation ¶
Index ¶
- Constants
- func Custom(msg ...interface{})
- func Customf(msg string, v ...interface{})
- func Debug(msg ...interface{})
- func Debugf(msg string, v ...interface{})
- func Error(msg ...interface{})
- func Errorf(msg string, v ...interface{})
- func Info(msg ...interface{})
- func Infof(msg string, v ...interface{})
- func SetLogLevel(lvl string)
- func Warn(msg ...interface{})
- func Warnf(msg string, v ...interface{})
Constants ¶
View Source
const ( DebugLvl = "debug" InfoLvl = "info" WarnLvl = "warn" ErrorLvl = "error" )
Log levels. Levels are ordered from lowest to highest (higher log level include lower one).
Variables ¶
This section is empty.
Functions ¶
func Customf ¶
func Customf(msg string, v ...interface{})
Customf logs formtted message at the custom level.
func Debugf ¶
func Debugf(msg string, v ...interface{})
Debugf logs formtted message at the debug level.
func Errorf ¶
func Errorf(msg string, v ...interface{})
Errorf logs formtted message at the error level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.