logr

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogger

func SetLogger(l Logger)

SetLogger sets a concrete logging implementation for all deferred Loggers.

Types

type Logger

type Logger interface {
	logr.Logger
}

Logger is Gate's logger interface.

var Log Logger = dLog

Log is the base logger used. It delegates to another logr.Logger. You *must* call SetLogger to get any actual logging.

var NopLog Logger = log.NullLogger{}

NopLog is a Logger that does nothing.

Jump to

Keyboard shortcuts

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