Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogrusEnvHook ¶
func NewHook ¶
func NewHook(keys []string) LogrusEnvHook
func (LogrusEnvHook) Fire ¶
func (hook LogrusEnvHook) Fire(entry *logrus.Entry) error
Fire is called by logrus when something is logged.
func (LogrusEnvHook) Levels ¶
func (hook LogrusEnvHook) Levels() []logrus.Level
Levels provides the levels to run the hook on.
Click to show internal directories.
Click to hide internal directories.