logger

package
v0.0.0-...-c360844 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEBUG logutils.LogLevel = "debug"
	INFO  logutils.LogLevel = "info"
	WARN  logutils.LogLevel = "warn"
	ERROR logutils.LogLevel = "error"
	FATAL logutils.LogLevel = "fatal"
)

Variables

View Source
var (
	Levels = []string{"fatal", "error", "warn", "info", "debug"}
)

Functions

func Configure

func Configure(lvl, prefix string, writer io.Writer)

func Debugf

func Debugf(f string, m ...interface{})

func Errorf

func Errorf(f string, m ...interface{})

func Fatalf

func Fatalf(f string, m ...interface{})

func Infof

func Infof(f string, m ...interface{})

func IsDebug

func IsDebug() bool

func Level

func Level() logutils.LogLevel

func SetLevel

func SetLevel(lvl string)

func Warnf

func Warnf(f string, m ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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