Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadLogsFromFile ¶
Types ¶
type Config ¶
type Config struct { Path string `yaml:"path"` FileName string `yaml:"file-name"` Level string `yaml:"level"` Rotate struct { Size string `yaml:"size"` BackupLimit int `yaml:"backup-limit"` BackupExpire int `yaml:"backup-expire"` // unit: day BackupCompress bool `yaml:"backup-compress"` } `yaml:"rotate"` Stdout bool `yaml:"stdout"` }
Click to show internal directories.
Click to hide internal directories.