Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NullLogger = log.NullLogger{}
NullLogger is a logr.Logger that does nothing.
Functions ¶
func MaybeSetVerbosity ¶
MaybeSetVerbosity will call log.SetVerbosity(verbosity) if logger has a SetVerbosity method.
func MaybeSetWriter ¶
MaybeSetWriter will call log.SetWriter(w) if logger has a SetWriter method.
Types ¶
type Level ¶
type Level int32
Level is a verbosity logging level for Info logs. See also https://github.com/kubernetes/klog
Click to show internal directories.
Click to hide internal directories.