log

package
v0.0.0-...-6d13c91 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ContextKey = "LogCtxKey"

Variables

Functions

func ContextWithLogger

func ContextWithLogger(ctx context.Context, logger logr.Logger) context.Context

ContextWithLogger returns a new context with the provided logger

func LoggerFromContext

func LoggerFromContext(ctx context.Context) logr.Logger

LoggerFromContext retrieves the current logger from the context

Types

This section is empty.

Jump to

Keyboard shortcuts

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