logger模块移入go-admin-core仓库,修改log用法暂时折中
fixme:后期要尽快改成统一的log处理方式
This commit is contained in:
1 parent
a68e58f93b
commit
da4637d285
27 files changed
+119
-784
No files matched your search
@@ -48,7 +48,7 @@ func run() {
|
||||
//1. 读取配置
|
||||
config.Setup(configYml)
|
||||
//2. 设置日志
|
||||
logger.Setup()
|
||||
global.Logger, global.JobLogger, global.RequestLogger = logger.Setup()
|
||||
_ = initDB()
|
||||
} else {
|
||||
_ = genFile()
|
||||
|
||||
Reference in new issue
Block a user