diff options
Diffstat (limited to 'modules/log/log.go')
-rw-r--r-- | modules/log/log.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/log/log.go b/modules/log/log.go index 65150237..636ea787 100644 --- a/modules/log/log.go +++ b/modules/log/log.go @@ -21,8 +21,7 @@ func init() { func NewLogger(bufLen int64, mode, config string) { Mode, Config = mode, config logger = logs.NewLogger(bufLen) - logger.EnableFuncCallDepth(true) - logger.SetLogFuncCallDepth(4) + logger.SetLogFuncCallDepth(3) logger.SetLogger(mode, config) } |