output

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Trace, Quiet bool
)

Functions

This section is empty.

Types

type Level

type Level int
const (
	L_QUIET Level = iota
	L_NOTICE
	L_TRACE
)

type Logger

type Logger interface {
	Errorf(format string, a ...interface{})
	Noticef(format string, a ...interface{})
	Triggerf(format string, a ...interface{})
	Successf(format string, a ...interface{})
	Tracef(format string, a ...interface{})
}

Logger is the main interface for outputing things.

func NewLog added in v0.1.1

func NewLog(cfg *c.Config) (Logger, error)

NewLog creates a new logger that handles output.

Jump to

Keyboard shortcuts

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