Categorygithub.com/go-logr/stdr
modulepackage
1.2.2
Repository: https://github.com/go-logr/stdr.git
Documentation: pkg.go.dev

# README

Minimal Go logging using logr and Go's standard library

Go Reference

This package implements the logr interface in terms of Go's standard log package(https://pkg.go.dev/log).

# Packages

No description provided by the author

# Functions

New returns a logr.Logger which is implemented by Go's standard log package, or something like it.
NewWithOptions returns a logr.Logger which is implemented by Go's standard log package, or something like it.
SetVerbosity sets the global level against which all info logs will be compared.

# Constants

All considers all message classes.
Error only considers error messages.
Info only considers info messages.
None ignores all message classes.

# Structs

Options carries parameters which influence the way logs are generated.

# Interfaces

StdLogger is the subset of the Go stdlib log.Logger API that is needed for this adapter.
Underlier exposes access to the underlying logging implementation.

# Type aliases

MessageClass indicates which category or categories of messages to consider.