log

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugLogger

type DebugLogger interface {
	Debug(...interface{})
	Debugf(string, ...interface{})
}

DebugLogger represents a logger with Debug* APIs.

type FatalLogger

type FatalLogger interface {
	Fatal(...interface{})
	Fatalf(string, ...interface{})
}

FatalLogger represents a logger with Fatal* APIs.

type InfoLogger

type InfoLogger interface {
	Info(...interface{})
	Infof(string, ...interface{})
}

InfoLogger represents a logger with Info* APIs.

type Logger

type Logger interface {
	InfoLogger
	WarnLogger
	DebugLogger
	FatalLogger
}

Logger represents a full-featured logger.

func New

func New(prefix string) Logger

New returns *log.

type WarnLogger

type WarnLogger interface {
	Warn(...interface{})
	Warnf(string, ...interface{})
}

WarnLogger represents a logger with Warn* APIs.

Jump to

Keyboard shortcuts

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