logging

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package logging provides a logger that satisfies https://github.com/go-logr/logr. It is implemented as a light wrapper around sigs.k8s.io/controller-runtime/pkg/log

Index

Constants

View Source
const (
	Debug = 1
)

Logging levels.

Variables

View Source
var (

	// Logger is the base logger used by Crossplane. It delegates to another
	// logr.Logger. You *must* call SetLogger to get any actual logging.
	Logger = logger.WithName("crossplane")
)

Functions

func SetLogger

func SetLogger(l logr.Logger)

SetLogger sets a concrete logging implementation for all deferred Loggers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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