mirror of
https://github.com/astaxie/beego.git
synced 2024-11-29 22:51:27 +00:00
To match with logs/log.go (and RFC 5424 specs)
This commit is contained in:
parent
cd9e614a71
commit
1dbbb89ad1
12
log.go
12
log.go
@ -17,12 +17,14 @@ import (
|
|||||||
|
|
||||||
// Log levels to control the logging output.
|
// Log levels to control the logging output.
|
||||||
const (
|
const (
|
||||||
LevelTrace = iota
|
LevelEmergency = iota
|
||||||
LevelDebug
|
LevelAlert
|
||||||
LevelInfo
|
|
||||||
LevelWarning
|
|
||||||
LevelError
|
|
||||||
LevelCritical
|
LevelCritical
|
||||||
|
LevelError
|
||||||
|
LevelWarning
|
||||||
|
LevelNotice
|
||||||
|
LevelInformational
|
||||||
|
LevelDebug
|
||||||
)
|
)
|
||||||
|
|
||||||
// SetLogLevel sets the global log level used by the simple
|
// SetLogLevel sets the global log level used by the simple
|
||||||
|
Loading…
Reference in New Issue
Block a user