kubernetes/vendor/k8s.io/klog/v2/klogr.go

const nameKey

// NewKlogr returns a logger that is functionally identical to
// klogr.NewWithOptions(klogr.FormatKlog), i.e. it passes through to klog. The
// difference is that it uses a simpler implementation.
func NewKlogr() Logger {}

type klogger

func (l *klogger) Init(info logr.RuntimeInfo) {}

func (l *klogger) Info(level int, msg string, kvList ...interface{}

func (l *klogger) Enabled(level int) bool {}

func (l *klogger) Error(err error, msg string, kvList ...interface{}

// WithName returns a new logr.Logger with the specified name appended.  klogr
// uses '.' characters to separate name elements.  Callers should not pass '.'
// in the provided name string, but this library does not actually enforce that.
func (l klogger) WithName(name string) logr.LogSink {}

func (l klogger) WithValues(kvList ...interface{}

func (l klogger) WithCallDepth(depth int) logr.LogSink {}

var _

var _