1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-26 21:10:50 +00:00

To match with logs/log.go (and RFC 5424 specs)

This commit is contained in:
Francois 2014-08-15 21:12:57 +02:00
parent cd9e614a71
commit 1dbbb89ad1

12
log.go
View File

@ -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