stdlib

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2018 License: MIT Imports: 7 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL