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"` // 是否启用文件输出 }