diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-10 16:36:50 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-10 16:36:50 -0400 |
commit | 45462662e9bdb001f1cf3d4ca0e4d679757c7642 (patch) | |
tree | eb5f3bfe24a423601ad27121c95427719cb16984 /modules/log | |
parent | 459223cf01d19a6956d370fad9ab41d3a32233d0 (diff) |
Add flash
Diffstat (limited to 'modules/log')
-rw-r--r-- | modules/log/log.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/log/log.go b/modules/log/log.go index f21897b9..636ea787 100644 --- a/modules/log/log.go +++ b/modules/log/log.go @@ -21,6 +21,7 @@ func init() { func NewLogger(bufLen int64, mode, config string) { Mode, Config = mode, config logger = logs.NewLogger(bufLen) + logger.SetLogFuncCallDepth(3) logger.SetLogger(mode, config) } |