feature ✨ 支持大文件分割配置
This commit is contained in:
1 parent
ff5d498c53
commit
b9e8759ef1
3 files changed
+14
-10
No files matched your search
+6
-4
@@ -61,10 +61,12 @@ func setup() {
|
||||
//2. 设置日志
|
||||
sdk.Runtime.SetLogger(
|
||||
logger.SetupLogger(
|
||||
config.LoggerConfig.Type,
|
||||
config.LoggerConfig.Path,
|
||||
config.LoggerConfig.Level,
|
||||
config.LoggerConfig.Stdout))
|
||||
logger.WithType(config.LoggerConfig.Type),
|
||||
logger.WithPath(config.LoggerConfig.Path),
|
||||
logger.WithLevel(config.LoggerConfig.Level),
|
||||
logger.WithStdout(config.LoggerConfig.Stdout),
|
||||
logger.WithCap(config.LoggerConfig.Cap),
|
||||
))
|
||||
//3. 初始化数据库链接
|
||||
database.Setup()
|
||||
|
||||
|
||||
Reference in new issue
Block a user