This commit is contained in:
liangzai
2025-08-31 14:18:31 +08:00
parent 30ace3faa2
commit 4be4d6b6da
19 changed files with 3472 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
package config
// LoggingConfig 日志配置
type LoggingConfig struct {
UserOperationLogDir string `json:"userOperationLogDir" yaml:"userOperationLogDir"` // 用户操作日志目录
MaxFileSize int64 `json:"maxFileSize" yaml:"maxFileSize"` // 单个日志文件最大大小(字节)
LogLevel string `json:"logLevel" yaml:"logLevel"` // 日志级别
EnableConsole bool `json:"enableConsole" yaml:"enableConsole"` // 是否启用控制台输出
EnableFile bool `json:"enableFile" yaml:"enableFile"` // 是否启用文件输出
}