logger模块移入go-admin-core仓库,修改log用法暂时折中

fixme:后期要尽快改成统一的log处理方式
This commit is contained in:
linwenxiang committed 2020-10-26 22:37:44 +08:00
1 parent a68e58f93b
commit da4637d285
27 files changed
+119 -784

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ func run() {
//1. 读取配置
config.Setup(configYml)
//2. 设置日志
logger.Setup()
global.Logger, global.JobLogger, global.RequestLogger = logger.Setup()
_ = initDB()
} else {
_ = genFile()