log

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Log(t Type, message string, arguments ...interface{})
}
var Log Logger

type NullLogger

type NullLogger struct{}

func (NullLogger) Log

func (nl NullLogger) Log(t Type, message string, arguments ...interface{})

type StdLogger

type StdLogger struct{}

func (StdLogger) Log

func (sl StdLogger) Log(t Type, message string, arguments ...interface{})

type Type

type Type int
const (
	Debug Type = iota + 1
	Info
	Warn
	Error
)

Jump to

Keyboard shortcuts

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