Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Level string `json:"level" yaml:"level"`
Path string `json:"path" yaml:"path"`
Format string `json:"format" yaml:"format"`
DisableConsole bool `json:"disable_console" yaml:"disable_console"`
MaxSizeMB int `json:"max_size_mb" yaml:"max_size_mb"`
MaxBackups int `json:"max_backups" yaml:"max_backups"`
MaxAgeDays int `json:"max_age_days" yaml:"max_age_days"`
Compress bool `json:"compress" yaml:"compress"`
}
func DefaultConfig ¶
Click to show internal directories.
Click to hide internal directories.