mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
log level fix
This commit is contained in:
parent
5f1fc08831
commit
c6f44766c2
@ -59,7 +59,7 @@ func log(msg string, level int) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func SetLogLevel(level int) bool {
|
func SetLogLevel(level int) bool {
|
||||||
if level > LOG_LEVEL_ERROR && level <= LOG_LEVEL_DEBUG {
|
if level >= LOG_LEVEL_ERROR && level <= LOG_LEVEL_DEBUG {
|
||||||
logLevel = level
|
logLevel = level
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user