Documentation
¶
Overview ¶
Package log provides simple structured logging with verbosity levels. Debug messages are only shown when Verbose is true. All other messages always print to stderr.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Verbose bool
Verbose controls whether Debug messages are printed. Set this via the root command's --verbose flag.
Functions ¶
func Debug ¶
Debug prints a debug message to stderr if Verbose is true. Format follows fmt.Printf conventions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.