Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedValues = [6]string{zerolog.LevelTraceValue, zerolog.LevelDebugValue, zerolog.LevelInfoValue, zerolog.LevelWarnValue, zerolog.LevelErrorValue, zerolog.LevelFatalValue}
Functions ¶
This section is empty.
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.