kubernetes/vendor/k8s.io/klog/v2/ktesting/setup.go

var DefaultConfig

// NewTestContext returns a logger and context for use in a unit test case or
// benchmark. The tl parameter can be a testing.T or testing.B pointer that
// will receive all log output. Importing k8s.io/klogr/testing/init will add
// command line flags that modify the configuration of that log output.
func NewTestContext(tl TL) (logr.Logger, context.Context) {}