setverbositylevel

package
v0.30.0 Latest Latest
Warning

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

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

Documentation

Overview

Package setverbositylevel stores callbacks that will be invoked by logs.GlogLevel.

This is a separate package to avoid a dependency from k8s.io/component-base/logs (uses the callbacks) to k8s.io/component-base/logs/api/v1 (adds them). Not all users of the logs package also use the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Mutex controls access to the callbacks.
	Mutex sync.Mutex

	Callbacks []func(v uint32) error
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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