1
0
mirror of https://github.com/astaxie/beego.git synced 2024-09-28 18:11:51 +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:
astaxie 2014-08-16 10:09:32 +08:00
commit 6b02e1e9d4

12
log.go
View File

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