Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLogger = &logrus.Logger{ Out: os.Stderr, Formatter: new(logrus.JSONFormatter), Level: logrus.ErrorLevel, }
View Source
var Logger *logrus.Logger
Functions ¶
func SetupLogger ¶
Types ¶
type MultiLogHook ¶
func NewMultiLogHook ¶
func NewMultiLogHook(levels []logrus.Level, logger *logrus.Logger) *MultiLogHook
func (*MultiLogHook) Levels ¶
func (hook *MultiLogHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.