1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-23 19:54:14 +00:00

fix the init logger

This commit is contained in:
astaxie 2014-10-31 09:02:16 +08:00
parent db43892fe6
commit 94c84b846f

View File

@ -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) {