logger

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TRACE level = 10
	DEBUG level = 20
	INFO  level = 30
	WARN  level = 40
	ERROR level = 50
	FATAL level = 60
)

Variables

This section is empty.

Functions

func Debug

func Debug(msg string)

func Debugf

func Debugf(msg string, args ...interface{})

func Error

func Error(msg string)

func Errorf

func Errorf(msg string, args ...interface{})

func Fatal

func Fatal(msg string)

func Fatalf

func Fatalf(msg string, args ...interface{})

func GetLevel

func GetLevel() level

func Info

func Info(msg string)

func Infof

func Infof(msg string, args ...interface{})

func SetLevel

func SetLevel(v level)

func SetName

func SetName(v string)

func Trace

func Trace(msg string)

func Tracef

func Tracef(msg string, args ...interface{})

func Warn

func Warn(msg string)

func Warnf

func Warnf(msg string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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