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 ¶
type JournalHook struct{}
func (*JournalHook) Fire ¶
func (hook *JournalHook) Fire(entry *logrus.Entry) error
Fire fires an entry into the journal.
func (*JournalHook) Levels ¶
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.