Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultLogger ¶
func NewDefaultLogger() loggers.Contextual
NewDefaultLogger returns a Contextual logger using a log.Logger with stderr output.
func NewLogger ¶
func NewLogger(l *log.Logger) loggers.Contextual
NewLogger creates a Contextual logger from a log.Logger.
func NewTestingLogger ¶
func NewTestingLogger(t *testing.T) loggers.Contextual
NewDefaultLogger returns a Contextual logger using a *testing.T with Log/Logf output. This allows logging to be redirected to the test where it belongs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.