Documentation ¶
Overview ¶
@Description logrus hook @Author jiangyang @Created 2020/11/27 11:27 上午
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Format string `json:"format" yaml:"format"` Level string `json:"level" yaml:"level"` Hooks []string `json:"hooks" yaml:"hooks"` Emails []string `json:"emails" yaml:"emails"` Mobile string `json:"mobile" yaml:"mobile"` EmailLevel string `json:"email_level" yaml:"email_level" mapstructure:"email_level"` ReportCaller bool `json:"report_caller" yaml:"report_caller" mapstructure:"report_caller"` }
Click to show internal directories.
Click to hide internal directories.