Files
EnGin/internal/conf/conf_logger.go
T
2026-07-07 16:39:54 +08:00

12 lines
464 B
Go

package conf
type LoggerConfig struct {
Prefix string `mapstructure:"prefix" yaml:"prefix"`
Level string `mapstructure:"level" yaml:"level"`
Filename string `mapstructure:"filename" yaml:"filename"`
MaxSize int `mapstructure:"max_size" yaml:"max_size"`
MaxBackups int `mapstructure:"max_backups" yaml:"max_backups"`
MaxAge int `mapstructure:"max_age" yaml:"max_age"`
Compress bool `mapstructure:"compress" yaml:"compress"`
}