Documentation
¶
Index ¶
- Constants
- func Debug(a ...interface{})
- func Debugf(format string, a ...interface{})
- func Fatal(a ...interface{})
- func Fatalf(format string, a ...interface{})
- func Info(a ...interface{})
- func Infof(format string, a ...interface{})
- func LogLevel() int
- func SetLogLevel(level int)
- func SetOutput(output *os.File)
- func Warn(a ...interface{})
- func Warnf(format string, a ...interface{})
Constants ¶
View Source
const ( DebugLevel = iota InfoLevel WarnLevel FatalLevel )
Log levels.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, a ...interface{})
Debugf output the debug log with formatted.
func Fatalf ¶
func Fatalf(format string, a ...interface{})
Fatalf output the fatal log with formatted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.