mirror of
https://github.com/beego/bee.git
synced 2024-11-22 10:10:53 +00:00
Update logger.go
This commit is contained in:
parent
abf2b4a4cb
commit
380cce650e
@ -45,7 +45,7 @@ var (
|
|||||||
instance *BeeLogger
|
instance *BeeLogger
|
||||||
once sync.Once
|
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
|
var logLevel = levelInfo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user