log

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2016 License: MIT 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 {
	SetOutput(io.Writer)
	SetLevel(log.Lvl)
	Print(...interface{})
	Printf(string, ...interface{})
	Printj(log.JSON)
	Debug(...interface{})
	Debugf(string, ...interface{})
	Debugj(log.JSON)
	Info(...interface{})
	Infof(string, ...interface{})
	Infoj(log.JSON)
	Warn(...interface{})
	Warnf(string, ...interface{})
	Warnj(log.JSON)
	Error(...interface{})
	Errorf(string, ...interface{})
	Errorj(log.JSON)
	Fatal(...interface{})
	Fatalj(log.JSON)
	Fatalf(string, ...interface{})
}

Logger defines the logging interface.

Jump to

Keyboard shortcuts

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