Files
tecamino-logger/cfg.go
T

20 lines
317 B
Go

package tecaminologger
type Config struct {
MaxSize int // max. size of file in MB
MaxBackup int //
MaxAge int
Debug bool
TerminalOut bool
}
func DefaultConfig() *Config {
return &Config{
Debug: false,
TerminalOut: false,
MaxSize: 1,
MaxBackup: 3,
MaxAge: 28,
}
}