Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFlags ¶
func AddFlags(a *kingpin.Application, config *Config)
Types ¶
type AllowedFormat ¶
type AllowedFormat struct {
// contains filtered or unexported fields
}
AllowedFormat is a settable identifier for the output format that the logger can have.
func (*AllowedFormat) Set ¶
func (f *AllowedFormat) Set(s string) error
Set updates the value of the allowed format.
func (*AllowedFormat) String ¶
func (f *AllowedFormat) String() string
type Config ¶
type Config struct {
Level *promlog.AllowedLevel
Format *AllowedFormat
}
Click to show internal directories.
Click to hide internal directories.