Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HoneycombHook ¶
type HoneycombHook struct { }
A HoneycombHook is a hook compatible with logrus which dispatches logged messages to honeycomb.
func (*HoneycombHook) Fire ¶
func (hook *HoneycombHook) Fire(entry *logrus.Entry) error
Fire implements logrus.Hook
func (*HoneycombHook) Flush ¶
func (*HoneycombHook) Flush()
Flush ensures that all queued messages are dispatched immediately to Honeycomb.
func (*HoneycombHook) Levels ¶
func (hook *HoneycombHook) Levels() []logrus.Level
Levels implements logrus.Hook
Click to show internal directories.
Click to hide internal directories.