Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DiscardLogger = logr.Discard()
DiscardLogger is a logr.Logger that does nothing.
Functions ¶
Types ¶
type Logger ¶
var Log Logger = DiscardLogger
Log is the base logger used by kubebuilder. It delegates to another logr.Logger. You *must* call SetLogger to get any actual logging.
func FromContext ¶
FromContext returns a logger with predefined values from a context.Context.
Click to show internal directories.
Click to hide internal directories.