redefine log level

This commit is contained in:
Lunny Xiao 2016-03-24 22:45:18 +08:00
parent 502158401c
commit 42bacbe76f
1 changed files with 5 additions and 5 deletions

View File

@ -4,12 +4,12 @@ type LogLevel int
const (
// !nashtsai! following level also match syslog.Priority value
LOG_UNKNOWN LogLevel = iota - 2
LOG_OFF LogLevel = iota - 1
LOG_ERR LogLevel = iota + 3
LOG_DEBUG LogLevel = iota
LOG_INFO
LOG_WARNING
LOG_INFO LogLevel = iota + 6
LOG_DEBUG
LOG_ERR
LOG_OFF
LOG_UNKNOWN
)
// logger interface