logger

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2018 License: MIT Imports: 7 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug added in v0.1.2

func Debug(msgs ...interface{})

func Debugf added in v0.1.2

func Debugf(format string, msgs ...interface{})

func Error

func Error(msgs ...interface{})

func Errorf

func Errorf(format string, msgs ...interface{})

func Info

func Info(msgs ...interface{})

func Infof

func Infof(format string, msgs ...interface{})

func SetLevel added in v0.1.2

func SetLevel(level LogLevel)

func Warn

func Warn(msgs ...interface{})

func Warnf

func Warnf(format string, msgs ...interface{})

Types

type LogLevel added in v0.1.2

type LogLevel int
const (
	ErrorLevel LogLevel = 1
	WarnLevel  LogLevel = 2
	InfoLevel  LogLevel = 3
	DebugLevel LogLevel = 4
)

Jump to

Keyboard shortcuts

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