logs

package
Version: v0.0.0-...-0ebd481 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultBasicLogger = func(message string, args ...interface{}) {
	fmt.Printf(message, args...)
}

Functions

This section is empty.

Types

type BasicLogger

type BasicLogger func(string, ...interface{})

type LevelLogger

type LevelLogger interface {
	Trace(...interface{})
	Tracef(string, ...interface{})
	Debug(...interface{})
	Debugf(string, ...interface{})
	Info(...interface{})
	Infof(string, ...interface{})
	Warn(...interface{})
	Warnf(string, ...interface{})
	Error(...interface{})
	Errorf(string, ...interface{})
}
var DefaultLevelLogger LevelLogger = logger.New()

Source Files

Jump to

Keyboard shortcuts

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