Documentation ¶
Overview ¶
Package logging adds common logging hooks for cnrm applications
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildLogger ¶
BuildLogger constructs a logr.Logger object that matches the standard configuration across cnrm applications, writing to the io.Writer passed.
func Fatal ¶
Fatal is a utility function to replace log.Fatal, which doesn't exist for logr loggers.
func SetupLogger ¶
func SetupLogger()
SetupLogger configures the controller-runtime/pkg/log Logger to the standard configuration across cnrm applications, writing to os.Stdout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.