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 (li *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
func (*LogInterceptor) String ¶ added in v0.3.0
func (li *LogInterceptor) String() string
Click to show internal directories.
Click to hide internal directories.