log

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: Apache-2.0 Imports: 2 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger added in v0.14.0

type Logger interface {
	Print(...interface{})
	Printf(string, ...interface{})
	Println(...interface{})
}

Logger is the interface that enables logging. It is compatible with the stdlib "log" methods. It is also compatible with https://godoc.org/github.com/Sirupsen/logrus#StdLogger.

func NewNopLogger added in v0.14.0

func NewNopLogger() Logger

func NewStdLogger added in v0.14.0

func NewStdLogger(out io.Writer) Logger

Jump to

Keyboard shortcuts

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