mirror of
https://github.com/astaxie/beego.git
synced 2024-11-16 14:10:56 +00:00
Merge pull request #746 from francoishill/patch-11
To match with logs/log.go (and RFC 5424 specs)
This commit is contained in:
commit
6b02e1e9d4
12
log.go
12
log.go
@ -17,12 +17,14 @@ import (
|
||||
|
||||
// Log levels to control the logging output.
|
||||
const (
|
||||
LevelTrace = iota
|
||||
LevelDebug
|
||||
LevelInfo
|
||||
LevelWarning
|
||||
LevelError
|
||||
LevelEmergency = iota
|
||||
LevelAlert
|
||||
LevelCritical
|
||||
LevelError
|
||||
LevelWarning
|
||||
LevelNotice
|
||||
LevelInformational
|
||||
LevelDebug
|
||||
)
|
||||
|
||||
// SetLogLevel sets the global log level used by the simple
|
||||
|
Loading…
Reference in New Issue
Block a user