Documentation
¶
Index ¶
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func Fatal(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func SetLogLevel(level LogLevel)
- func System(format string, v ...interface{})
- func Warn(format string, v ...interface{})
- type LogLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogLevel ¶
type LogLevel uint8
A logger's level, valued 0-6 where lower levels higher verbosity
const ( // Print everything LogLevelAll LogLevel = iota // Print debug, info, warning, errors and fatal errors LogLevelDebug // Print info, warning, errors and fatal errors LogLevelInfo // Print warnings, errors and fatal errors LogLevelWarn // Print only errors and fatal errors LogLevelError // Print only fatal errors LogLevelFatal // Print nothing. Effectively disables logging LogLevelNone )
Click to show internal directories.
Click to hide internal directories.