log

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtendContextLoggerWithPipelineRunInfo

func ExtendContextLoggerWithPipelineRunInfo(ctx context.Context, pipelineRun *v1alpha1.PipelineRun) (context.Context, logr.Logger)

ExtendContextLoggerWithPipelineRunInfo calls extendLoggerWithPipelineRunInfo with the logger from the given context. Panics if the given context has no logger attached or the given pipeline run is nil. Returns both a new context with the enhanced logger and the enhanced logger so that callers can directly use what they need.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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