1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 14:00:54 +00:00

Set SetLogFuncCallDepth default to 4

This commit is contained in:
astaxie 2016-08-23 23:48:47 +08:00
parent c611da2e3c
commit 227678c2ef

View File

@ -536,10 +536,10 @@ func EnableFuncCallDepth(b bool) {
beeLogger.enableFuncCallDepth = b beeLogger.enableFuncCallDepth = b
} }
// SetLogFuncCall set the CallDepth, default is 3 // SetLogFuncCall set the CallDepth, default is 4
func SetLogFuncCall(b bool) { func SetLogFuncCall(b bool) {
beeLogger.EnableFuncCallDepth(b) beeLogger.EnableFuncCallDepth(b)
beeLogger.SetLogFuncCallDepth(3) beeLogger.SetLogFuncCallDepth(4)
} }
// SetLogFuncCallDepth set log funcCallDepth // SetLogFuncCallDepth set log funcCallDepth