From 94c84b846fe84fddad10e1751c8a5519f4841a6f Mon Sep 17 00:00:00 2001 From: astaxie Date: Fri, 31 Oct 2014 09:02:16 +0800 Subject: [PATCH] fix the init logger --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 8a819dad..fd3d5de1 100644 --- a/config.go +++ b/config.go @@ -277,7 +277,7 @@ func init() { if err != nil { fmt.Println("init console log error:", err) } - BeeLogger.SetLogFuncCallDepth(true) + SetLogFuncCall(true) err = ParseConfig() if err != nil && !os.IsNotExist(err) {