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) SetZeroLogLevel ¶
func (l *Level) SetZeroLogLevel()
Click to show internal directories.
Click to hide internal directories.