log

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Log is the base logger used by kubebuilder.  It delegates
	// to another logr.Logger.  You *must* call SetLogger to
	// get any actual logging.
	Log = log.Log

	// KBLog is a base parent logger.
	KBLog logr.Logger

	// SetLogger sets a concrete logging implementation for all deferred Loggers.
	SetLogger = log.SetLogger
)

Functions

func RawStackdriverZapLoggerTo added in v0.2.4

func RawStackdriverZapLoggerTo(destWriter io.Writer, development bool, opts ...zap.Option) *zap.Logger

RawStackdriverZapLoggerTo returns a new zap.Logger configured with KubeAwareEncoder and StackDriverEncoder.

Types

This section is empty.

Directories

Path Synopsis
adapters

Jump to

Keyboard shortcuts

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