log

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(logger logr.Logger, msg string, keysAndValues ...interface{})

Debug logs a message at the debug level.

func Error

func Error(logger logr.Logger, err error, msg string, keysAndValues ...interface{})

Error logs a message at the error level.

func GetLogger

func GetLogger(ctx context.Context, controllerName string, developmentMode bool) logr.Logger

GetLogger returns a configured instance of logger.

func Info

func Info(logger logr.Logger, msg string, keysAndValues ...interface{})

Info logs a message at the info level.

func Trace

func Trace(logger logr.Logger, msg string, keysAndValues ...interface{})

Trace logs a message at the trace level.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL