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"` // Log level Path string `json:"path" yaml:"path"` // Log path Filename string `json:"filename" yaml:"filename"` // Log filename MaxAge int `json:"max_age" yaml:"max_age"` // Log store time RotationTime int `json:"rotation_time" yaml:"rotation_time"` // Log rotation time ReportCaller bool `json:"report_caller" yaml:"report_caller"` // Report caller func and line number LogrusLevel logrus.Level }
Config for log config
Click to show internal directories.
Click to hide internal directories.