mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 22:10:48 +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