Documentation
¶
Overview ¶
Package verbosity resolves the log level the binaries are started with.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromArgs ¶
FromArgs returns the verbosity requested through -v, ignoring every other flag. The arguments are parsed here because the logger is built before the flag sets that own them are.
func RegisterFlag ¶
func RegisterFlag()
RegisterFlag declares -v unless one of the logging libraries already did.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.