Documentation ¶
Overview ¶
Package file provides file logging related functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YAMLFileConfig ¶
type YAMLFileConfig struct { EnabledOption bool `yaml:"enabled"` FilenameOption string `yaml:"filename"` MaxSizeOption int `yaml:"max_size"` MaxAgeOption int `yaml:"max_age"` MaxBackupsOption int `yaml:"max_backups"` CompressOption bool `yaml:"compress"` }
func (*YAMLFileConfig) NewWriter ¶
func (config *YAMLFileConfig) NewWriter() io.Writer
Click to show internal directories.
Click to hide internal directories.