1
0
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:
Ming Deng
2020-11-05 22:00:43 +08:00
parent 471ebba64d
commit b4396c97bb
4 changed files with 12 additions and 15 deletions

View File

@ -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