mirror of
https://github.com/astaxie/beego.git
synced 2025-06-12 22:10:39 +00:00
fix init error of global instance
This commit is contained in:
@ -687,7 +687,7 @@ func EnableFuncCallDepth(b bool) {
|
||||
// SetLogFuncCall set the CallDepth, default is 4
|
||||
func SetLogFuncCall(b bool) {
|
||||
beeLogger.EnableFuncCallDepth(b)
|
||||
beeLogger.SetLogFuncCallDepth(4)
|
||||
beeLogger.SetLogFuncCallDepth(3)
|
||||
}
|
||||
|
||||
// SetLogFuncCallDepth set log funcCallDepth
|
||||
|
Reference in New Issue
Block a user