Documentation ¶
Overview ¶
Package journald was copied directly from https://github.com/wercker/journalhook, where this library was previously hosted.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JournalHook ¶ added in v4.0.3
type JournalHook struct{}
func (*JournalHook) Fire ¶ added in v4.0.3
func (hook *JournalHook) Fire(entry *logrus.Entry) error
Fire fires an entry into the journal.
func (*JournalHook) Levels ¶ added in v4.0.3
func (hook *JournalHook) Levels() []logrus.Level
Levels returns a slice of `Levels` the hook is fired for.
Click to show internal directories.
Click to hide internal directories.