Documentation
¶
Overview ¶
Package debug supplies the “--debug” and “--tinted” CLI flags for configuring the default structured logger.
- “--debug” enables structured logging to stderr from debug level on and upwards (so no tracing).
- “--tinted” enables tinted logs using the lmittmann/tint module.
Index ¶
Constants ¶
View Source
const ( DebugFlagName = "debug" TintedFlagName = "tinted" )
Names of the CLI flags defined and used in this package.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultLevel ¶ added in v0.2.0
SetDefaultLevel allows API users to override the default log level (info) with their own default level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.