log

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: MIT Imports: 8 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArgumentBinder

func NewArgumentBinder(format string) argumentBinder

Types

type Logger

type Logger interface {
	Debug(argumentBinder)
	Debugf(format string, a ...interface{})
	Info(argumentBinder)
	Infof(format string, a ...interface{})
	Warn(argumentBinder)
	Warnf(format string, a ...interface{})
	Error(argumentBinder)
	Errorf(format string, a ...interface{})
}

func NewDevelopment

func NewDevelopment(...config.LogDefinition) Logger

func NewProduction

func NewProduction(properties ...config.LogDefinition) Logger

func NewTest

func NewTest(buffer *string) Logger

Jump to

Keyboard shortcuts

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