Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRotateFileHook ¶
func NewRotateFileHook(config RotateFileConfig) (logrus.Hook, error)
Types ¶
type RotateFileConfig ¶
type RotateFileHook ¶
type RotateFileHook struct {
Config RotateFileConfig
// contains filtered or unexported fields
}
func (*RotateFileHook) Levels ¶
func (hook *RotateFileHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.