log

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSupportedValues added in v1.17.0

func GetSupportedValues() [6]string

Types

type Level

type Level struct {
	// contains filtered or unexported fields
}

Level implements the Value interface (https://pkg.go.dev/github.com/spf13/pflag@v1.0.5#Value). Therefore we can get this value from a flag, and show an error if a supported value is not provided.

func (*Level) Set

func (l *Level) Set(level string) error

func (*Level) SetZeroLogLevel

func (l *Level) SetZeroLogLevel()

func (*Level) String

func (l *Level) String() string

func (*Level) Type

func (l *Level) Type() string

Jump to

Keyboard shortcuts

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