logger

package
v0.0.0-...-5d9b3ed Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = &toStderr{}

Default AFAIRE.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Trace(msg string, fields sdk.Fields)
	Debug(msg string, fields sdk.Fields)
	Info(msg string, fields sdk.Fields)
	Notice(msg string, fields sdk.Fields)
	Warning(msg string, fields sdk.Fields)
	Error(msg string, fields sdk.Fields)
	Fatal(msg string, fields sdk.Fields)
	SetLevel(level string)
	NewLogger(id, name string, add bool) Logger
	Remove()
	NewStdLogger(prefix string, flag int, level string) *log.Logger
}

Logger AFAIRE.

Jump to

Keyboard shortcuts

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