MCPcopy Create free account
hub / github.com/CrunchyData/postgres-operator / SetLogger

Function SetLogger

internal/controller/runtime/runtime.go:73–73  ·  view source on GitHub ↗

SetLogger assigns the default Logger used by [sigs.k8s.io/controller-runtime].

(logger logging.Logger)

Source from the content-addressed store, hash-verified

71
72// SetLogger assigns the default Logger used by [sigs.k8s.io/controller-runtime].
73func SetLogger(logger logging.Logger) { log.SetLogger(logger) }

Callers 1

initLoggingFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected