package logx // LogConf 按天日志配置 type LogConf struct { Level string `json:",default=INFO"` Format string `json:",default=text"` TimeFormat string `json:",optional"` Filename string `json:",default=bj_power_mes.log"` Daily bool `json:",default=true"` MaxSize int `json:",default=100"` MaxBackups int `json:",default=10"` MaxAge int `json:",default=30"` Compress bool `json:",default=true"` Console bool `json:",default=true"` AddSource bool `json:",default=false"` }