logr

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Trace   *log.Logger // Needs verbose flag. Just about anything
	Info    *log.Logger // Always displayed. Important information
	Warning *log.Logger // Always displayed. Be concerned
	Error   *log.Logger // Displayed with additional location info. Critical problem
)

Functions

func SetTarget

func SetTarget(newTarget io.Writer)

SetTarget for log output

func SetVerbosity

func SetVerbosity(isVerboseRequested bool)

SetVerbosity allows verbose logs

Types

This section is empty.

Jump to

Keyboard shortcuts

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