aboutsummaryrefslogtreecommitdiff
path: root/modules/log
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-06 13:00:20 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-06 13:00:20 -0400
commit2846ff7d31fc93659a2e90fe869ff51c885decfa (patch)
tree07f6c991fb4e6e2d09a7aee331dc45ce4caa1364 /modules/log
parentd3a987eded8bf2d0afc35dce32238e59da8080a8 (diff)
Fix bug related to log
Diffstat (limited to 'modules/log')
-rw-r--r--modules/log/log.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/log/log.go b/modules/log/log.go
index 65150237..f21897b9 100644
--- a/modules/log/log.go
+++ b/modules/log/log.go
@@ -21,8 +21,6 @@ func init() {
func NewLogger(bufLen int64, mode, config string) {
Mode, Config = mode, config
logger = logs.NewLogger(bufLen)
- logger.EnableFuncCallDepth(true)
- logger.SetLogFuncCallDepth(4)
logger.SetLogger(mode, config)
}