94c84b84 by astaxie

fix the init logger

1 parent db43892f
...@@ -277,7 +277,7 @@ func init() { ...@@ -277,7 +277,7 @@ func init() {
277 if err != nil { 277 if err != nil {
278 fmt.Println("init console log error:", err) 278 fmt.Println("init console log error:", err)
279 } 279 }
280 BeeLogger.SetLogFuncCallDepth(true) 280 SetLogFuncCall(true)
281 281
282 err = ParseConfig() 282 err = ParseConfig()
283 if err != nil && !os.IsNotExist(err) { 283 if err != nil && !os.IsNotExist(err) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!