Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RotateHook ¶
type RotateHook struct {
// contains filtered or unexported fields
}
func NewRotateHook ¶
func NewRotateHook(cfg *Config) *RotateHook
func (*RotateHook) Enabled ¶
func (h *RotateHook) Enabled() bool
func (*RotateHook) Levels ¶
func (h *RotateHook) Levels() []logrus.Level
func (*RotateHook) SetEnabled ¶
func (h *RotateHook) SetEnabled(enabled bool)
Click to show internal directories.
Click to hide internal directories.