logging

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) logr.Logger

FromContext retrieves the logger from the context, or, is not set, returns a new logger.

func InitFlags

func InitFlags(flagset *flag.FlagSet)

InitFlags initializes logging-related flags.

func NewContext

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

NewContext returns a new context with the provided logr.Logger instance.

func NewLogger

func NewLogger() logr.Logger

func SetGRPCLogger

func SetGRPCLogger(logger logr.Logger)

Types

This section is empty.

Jump to

Keyboard shortcuts

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