Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = logrus.New()
Functions ¶
Types ¶
type ContextHook ¶
type ContextHook struct { }
func (ContextHook) Levels ¶
func (hook ContextHook) Levels() []logrus.Level
type ContextLogger ¶
type ContextLogger interface {
UseLog(l *Logger)
}
ContextLogger interface for components which support logging with context, via setting a logger to an exisiting one, thereby inheriting its context.
Click to show internal directories.
Click to hide internal directories.