logy

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2017 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level uint8
const (
	FATAL Level = iota
	INFO
	DEBUG
)

func (Level) String

func (i Level) String() string

type Logger

type Logger interface {
	Info(format string, args ...interface{})
	Debug(format string, args ...interface{})
	Fatal(format string, args ...interface{})
	Level() Level
}

func NewStdoutLogger

func NewStdoutLogger(level Level) Logger

func NewWithLogger

func NewWithLogger(l *log.Logger, level Level) Logger

Jump to

Keyboard shortcuts

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