Errorf is called to write an error log, such as when a new connection fails.
var Errorf = log.Printf
Infof is called to write informational logs, such as when startup has
var Infof = log.Printf
Verbosef is called to write verbose logs, such as when a new connection is established correctly.
var Verbosef = log.Printf
func DisableLogging()
DisableLogging sets all logging levels to no-op's.
func EnableStructuredLogs(logDebugStdout, verbose bool) (func(), error)
EnableStructuredLogs replaces all logging functions with structured logging variants.
func LogDebugToStdout()
LogDebugToStdout updates Verbosef and Info logging to use stdout instead of stderr.
func LogVerboseToNowhere()
LogVerboseToNowhere updates Verbosef so verbose log messages are discarded