log

package
v0.0.0-...-a4e343c Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewNopLogger() Logger

func NewStdLogger

func NewStdLogger(out io.Writer) Logger

Jump to

Keyboard shortcuts

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