logging

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry interface {
	String(key, value string) Entry
	Int(key string, value int) Entry
	Err(err error) Entry
	Bool(key string, value bool) Entry
	Time(key string, value time.Time) Entry
	Duration(key string, duration time.Duration) Entry
	Float64(key string, value float64) Entry
	Uint64(key string, value uint64) Entry

	Logf(message string, args ...interface{})
	Log(message string)
}

type Logger

type Logger interface {
	Info() Entry
	Error() Entry
	Debug() Entry
	Warn() Entry
	Critical() Entry
}

Jump to

Keyboard shortcuts

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