Documentation ¶
Overview ¶
Package debug supplies the --log and --debug CLI flags.
- --log enables logging to stderr from info level on and upwards.
- --debug enables logging to stderr from debug level on and upwards, so no tracing.
Index ¶
Constants ¶
View Source
const ( DebugFlagName = "debug" LogFlagName = "log" )
Names of the CLI flags defined and used in this package.
Variables ¶
This section is empty.
Functions ¶
func BeforeCommand ¶
Ensure to enable debug logging before any command finally is executed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.