feat: 独立debug选项,改善日志文件输出

This commit is contained in:
Mmx233
2022-03-01 23:11:17 +08:00
parent ccd1472f6f
commit 7867a99f3b
5 changed files with 33 additions and 27 deletions

View File

@@ -36,6 +36,9 @@ func readConfig() error {
Guardian: srunModels.Guardian{
Duration: 300,
},
Debug: srunModels.Debug{
Path: "./",
},
})
//生成配置文件