Versions in this module Expand all Collapse all v0 v0.18.3 Apr 18, 2022 v0.18.2 Apr 18, 2022 Changes in this version + func IntoContext(ctx context.Context, log Logger) context.Context + func SetLogger(l Logger) + type DelegatingLogSink struct + func NewDelegatingLogSink(initial logr.LogSink) *DelegatingLogSink + func (l *DelegatingLogSink) Enabled(level int) bool + func (l *DelegatingLogSink) Error(err error, msg string, keysAndValues ...interface{}) + func (l *DelegatingLogSink) Fulfill(actual logr.LogSink) + func (l *DelegatingLogSink) Info(level int, msg string, keysAndValues ...interface{}) + func (l *DelegatingLogSink) Init(info logr.RuntimeInfo) + func (l *DelegatingLogSink) WithName(name string) logr.LogSink + func (l *DelegatingLogSink) WithValues(tags ...interface{}) logr.LogSink + type Logger = logr.Logger + var Log Logger = logr.New(dlog) + var NopLog Logger = logr.New(NullLogSink{}) + func FromContext(ctx context.Context, keysAndValues ...interface{}) Logger + func OrNop(l Logger) Logger + type NullLogSink struct + func (NullLogSink) Enabled(level int) bool + func (NullLogSink) Error(_ error, _ string, _ ...interface{}) + func (NullLogSink) Info(_ int, _ string, _ ...interface{}) + func (log NullLogSink) Init(logr.RuntimeInfo) + func (log NullLogSink) WithName(_ string) logr.LogSink + func (log NullLogSink) WithValues(_ ...interface{}) logr.LogSink