log

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 0 Imported by: 37

Documentation

Overview

Pacakge log is embedded (not imported) from https://github.com/jessepeterson/go-log

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 returns a new nested Logger.
	// Usually for adding logging additional context to an existing logger.
	With(...interface{}) Logger
}

Logger is a generic logging interface for a structured, levelled, nest-able logger.

Directories

Path Synopsis
Package ctxlog allows logging of key-value pairs stored with a context.
Package ctxlog allows logging of key-value pairs stored with a context.
Package stdlogfmt adapts a NanoLIB Logger to the Golang standard library log package.
Package stdlogfmt adapts a NanoLIB Logger to the Golang standard library log package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳