Documentation ¶
Overview ¶
Package logging provides a custom logging implementation for webborer.
Index ¶
- Constants
- Variables
- func Debugf(format string, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func Logf(level int, format string, args ...interface{})
- func ResetLog(logfilePath, logLevel string)
- func SetLogLevel(level string)
- func Warningf(format string, args ...interface{})
Constants ¶
View Source
const ( LogDebug = iota LogInfo LogWarning LogError LogFatal )
Variables ¶
View Source
var LogLevelStrings = [...]string{
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"FATAL",
}
View Source
var Warnf = Warningf
Functions ¶
func SetLogLevel ¶
func SetLogLevel(level string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.