13 lines
418 B
Go
13 lines
418 B
Go
package logger
|
|
|
|
type Config struct {
|
|
Level string `mapstructure:"level"`
|
|
Path string `mapstructure:"path"`
|
|
MaxAge int `mapstructure:"max_age"`
|
|
MaxSize int `mapstructure:"max_size"`
|
|
MaxBackups int `mapstructure:"max_backups"`
|
|
Compress bool `mapstructure:"compress"`
|
|
LocalTime bool `mapstructure:"local_time"`
|
|
LogInConsole bool `mapstructure:"log_in_console"`
|
|
}
|