日志库新增功能指令

This commit is contained in:
flswld committed 2024-11-21 20:43:19 +08:00
1 parent 2a59af8e6d
commit 6a723ac078
9 files changed
+126 -121

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ func Run(ctx context.Context) error {
if !config.GetConfig().Hk4e.StandaloneModeEnable {
logger.InitLogger(&logger.Config{
AppName: "node",
Level: logger.ParseLogLevel(config.GetConfig().Logger.Level),
Level: logger.ParseLevel(config.GetConfig().Logger.Level),
TrackLine: config.GetConfig().Logger.TrackLine,
TrackThread: config.GetConfig().Logger.TrackThread,
EnableFile: config.GetConfig().Logger.EnableFile,