Documentation ¶ Index ¶ type Hook func NewHook(levels ...logrus.Level) *Hook func (hook *Hook) Fire(entry *logrus.Entry) error func (hook *Hook) Levels() []logrus.Level Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Hook ¶ type Hook struct { Field string Skip int SkipPrefixes []string Formatter func(file, function string, line int) string // contains filtered or unexported fields } func NewHook ¶ func NewHook(levels ...logrus.Level) *Hook func (*Hook) Fire ¶ func (hook *Hook) Fire(entry *logrus.Entry) error func (*Hook) Levels ¶ func (hook *Hook) Levels() []logrus.Level Source Files ¶ View all Source files filename.go Click to show internal directories. Click to hide internal directories.