mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 21:00:57 +00:00
fix the init logger
This commit is contained in:
parent
db43892fe6
commit
94c84b846f
@ -277,7 +277,7 @@ func init() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("init console log error:", err)
|
fmt.Println("init console log error:", err)
|
||||||
}
|
}
|
||||||
BeeLogger.SetLogFuncCallDepth(true)
|
SetLogFuncCall(true)
|
||||||
|
|
||||||
err = ParseConfig()
|
err = ParseConfig()
|
||||||
if err != nil && !os.IsNotExist(err) {
|
if err != nil && !os.IsNotExist(err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user