更改日志方式
This commit is contained in:
谢小军
2020-06-06 00:20:13 +08:00
parent 349b8297e2
commit 36bb586b98
3 changed files with 72 additions and 3 deletions

View File

@@ -7,7 +7,6 @@ import (
"github.com/xxjwxc/public/mylog"
"github.com/xxjwxc/gormt/data/view/gtools"
"github.com/xxjwxc/public/tools"
"github.com/xxjwxc/gormt/data/config"
@@ -90,7 +89,7 @@ func initConfig() {
os.Exit(1)
} else {
mylog.Info("using database info:")
mylog.Info(tools.GetJSONStr(config.GetMysqlDbInfo(), true))
mylog.JSON(config.GetMysqlDbInfo())
}
}