Documentation ¶
Index ¶
Constants ¶
View Source
const LevelFlagHelp = "Only log messages with the given severity or above. One of: [debug, info, warn, error]"
LevelFlagHelp is the help description for the log.level flag.
View Source
const LevelFlagName = "log.level"
LevelFlagName is the canonical flag name to configure the allowed log level within Prometheus projects.
Variables ¶
This section is empty.
Functions ¶
func AddFlags ¶
func AddFlags(a *kingpin.Application, logLevel *promlog.AllowedLevel)
AddFlags adds the flags used by this package to the Kingpin application. To use the default Kingpin application, call AddFlags(kingpin.CommandLine)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.