mirror of
https://github.com/beego/bee.git
synced 2024-12-22 10:00:50 +00:00
Update logger.go
This commit is contained in:
parent
abf2b4a4cb
commit
380cce650e
@ -45,7 +45,7 @@ var (
|
||||
instance *BeeLogger
|
||||
once sync.Once
|
||||
)
|
||||
var debugMode = map[string]bool{"1": true, "0": false}[os.Getenv("DEBUG_ENABLED")]
|
||||
var debugMode = os.Getenv("DEBUG_ENABLED") == "1"
|
||||
|
||||
var logLevel = levelInfo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user