Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Level string `yaml:"level" json:"level"` FileName string `yaml:"filename" json:"filename"` MoveFileType int `yaml:"move_file_type" json:"move_file_type"` MaxLength int64 `yaml:"max_length" json:"max_length"` MaxBackups int `yaml:"max_backups" json:"max_backups"` StdPrinters []string `yaml:"std_printers" json:"std_printers"` TimeFormat string `yaml:"time_format" json:"time_format"` Caller bool `yaml:"caller" json:"caller"` CallerSkip int `yaml:"caller_skip" json:"caller_skip"` }
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface for Config.
Click to show internal directories.
Click to hide internal directories.