Documentation ¶
Overview ¶
Package logging is defined below
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogLevelNames = []string{
"CRITICAL",
"ERROR",
"WARNING",
"INFO",
"DEBUG",
}
LogLevelNames defined
Functions ¶
This section is empty.
Types ¶
type LogLevelLogger ¶
type LogLevelLogger interface { SetLevel(logLevel LogLevel) GetLevel() LogLevel IsCriticalEnabled() bool IsErrorEnabled() bool IsWarningEnabled() bool IsInfoEnabled() bool IsDebugEnabled() bool Critical(message string) Error(message string) Warning(message string) Info(message string) Debug(message string) For(item interface{}) LogLevelLogger SetFlags(flag int) SetOutput(writer io.Writer) }
LogLevelLogger defined
var Default LogLevelLogger
Default defined
Click to show internal directories.
Click to hide internal directories.