Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EventTypeDontRecord will tell the logger not to emit a Kubernetes event for this log // line EventTypeDontRecord = "DontRecord" )
Variables ¶
This section is empty.
Functions ¶
func WithEventRecorder ¶
func WithLabels ¶
WithLabels decorates a logr.Logger so that any log entries contain all labels which keys are prefix by labelKeyPrefix
Types ¶
type EventRecordingLogger ¶
func (*EventRecordingLogger) Info ¶
func (erl *EventRecordingLogger) Info(msg string, keyvals ...interface{})
func (*EventRecordingLogger) WithName ¶
func (erl *EventRecordingLogger) WithName(name string) logr.Logger
func (*EventRecordingLogger) WithValues ¶
func (erl *EventRecordingLogger) WithValues(values ...interface{}) logr.Logger
Click to show internal directories.
Click to hide internal directories.