Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultLogger ¶
func NewDefaultLogger() loggers.Contextual
NewDefaultLogger returns a Contextual Logger for Logrus's logger. The logger will contain whatever defaults Logrus uses.
Types ¶
type Logger ¶
Logger is an Contextual logger wrapper over Logrus's logger.
func (*Logger) WithFields ¶
func (l *Logger) WithFields(fields ...interface{}) loggers.Advanced
WithFields returns an advanced logger with pre-set fields.
Click to show internal directories.
Click to hide internal directories.