Set SetLogFuncCallDepth default to 4

This commit is contained in:
astaxie 2016-08-23 23:48:47 +08:00
parent c611da2e3c
commit 227678c2ef
1 changed files with 2 additions and 2 deletions

View File

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