trace

package
v0.0.0-...-6f42548 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelError = iota
	LevelWarn
	LevelInfo
	LevelDebug
)

Variables

This section is empty.

Functions

func GetTraceLevel

func GetTraceLevel() int

func SetTraceLevel

func SetTraceLevel(level int)

Types

type Tracer

type Tracer interface {
	Debug(...interface{})
	Debugf(string, ...interface{})
	Info(...interface{})
	Infof(string, ...interface{})
	Warn(...interface{})
	Warnf(string, ...interface{})
	Error(...interface{})
	Errorf(string, ...interface{})
}

func New

func New(source string) Tracer

Jump to

Keyboard shortcuts

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