Documentation
¶
Overview ¶
package logging initializes the root logger and provides some helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(verbosity *int)
Init sets verbosity based on flag or environment. Defaults to 1 if neither is set. Sets the flag to actual setting.
func LogWriter ¶ added in v0.1.1
LogWriter returns the destination for the root logger, so other logs can be directed to it.
func SetVerbose ¶ added in v0.7.4
func SetVerbose(level int)
SetVerbose sets the logging verbosity for the entire process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.