This commit is contained in:
2025-07-28 13:47:58 +08:00
parent d7df247e58
commit 90194bd803
11 changed files with 556 additions and 75 deletions

View File

@@ -81,11 +81,12 @@ func NewContainer() *Container {
Level: cfg.Logger.Level,
Format: cfg.Logger.Format,
Output: cfg.Logger.Output,
FilePath: cfg.Logger.FilePath,
LogDir: cfg.Logger.LogDir,
MaxSize: cfg.Logger.MaxSize,
MaxBackups: cfg.Logger.MaxBackups,
MaxAge: cfg.Logger.MaxAge,
Compress: cfg.Logger.Compress,
UseDaily: cfg.Logger.UseDaily,
}
return logger.NewLogger(logCfg)
},