Commit c32b0f0a authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update log

parent 57ccb90f
...@@ -28,11 +28,13 @@ func main() { ...@@ -28,11 +28,13 @@ func main() {
if err != nil { if err != nil {
panic(err) panic(err)
} }
log.Info("init config")
da, err := dao.New(cfg) da, err := dao.New(cfg)
if err != nil { if err != nil {
panic(err) panic(err)
} }
log.Info("init dao")
if cfg.Debug { if cfg.Debug {
log.SetLevel(log.DebugLevel) log.SetLevel(log.DebugLevel)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment