logger

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package logger provides common logging types.

Index

Constants

This section is empty.

Variables

View Source
var Null = log.New(io.Discard, "", 0) // dev/null

Null is a discarding logger.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Printf(format string, v ...any)
	Println(v ...any)
	Fatalf(format string, v ...any)
}

Logger defines a logging interface.

Jump to

Keyboard shortcuts

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