mirror of
https://github.com/beego/bee.git
synced 2025-06-12 10:00:41 +00:00
Update logger.go
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user