mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 13:50:54 +00:00
Set SetLogFuncCallDepth default to 4
This commit is contained in:
parent
c611da2e3c
commit
227678c2ef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user