cmd

package
v2.9.0 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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppLogger

func AppLogger(c *cli.Context) logr.Logger

AppLogger retrieves the application-wide logger instance from the cli.Context's Metadata. This function will return nil if SetAppLogger was not called before this function is called.

func SetAppLogger

func SetAppLogger(c *cli.Context, logger logr.Logger)

SetAppLogger stores the application-wide logger instance to the cli.Context's Metadata, so that it can later be retrieved by AppLogger.

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