log

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NopLogger = &nopLogger{}

NopLogger is a Logger that does nothing

Functions

This section is empty.

Types

type Logger

type Logger interface {
	// Info logs using the info level
	Info(...interface{})

	// Debug logs using the debug level
	Debug(...interface{})

	// With nests the Logger
	// Usually for adding logging context to a sub-logger
	With(...interface{}) Logger
}

Logger is a generic logging interface to a structured, leveled, nest-able logger

Directories

Path Synopsis
Package ctxlog allows logging data stored with a context.
Package ctxlog allows logging data stored with a context.

Jump to

Keyboard shortcuts

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