Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogInterceptor ¶
LogInterceptor implements logrus.Hook to capture log messages
func (*LogInterceptor) Fire ¶
func (hook *LogInterceptor) Fire(entry *logrus.Entry) error
Fire is called for each log entry
func (*LogInterceptor) Levels ¶
func (*LogInterceptor) Levels() []logrus.Level
Levels defines which log levels to capture
Click to show internal directories.
Click to hide internal directories.