Documentation ¶
Index ¶
Constants ¶
View Source
const ( // QUIET will suppress all log messages except error and above QUIET Level = 0 // DEFAULT is info-level logging DEFAULT = 1 // VERBOSE includes all debug logs VERBOSE = 2 )
Variables ¶
This section is empty.
Functions ¶
func InitLogLevel ¶
func InitLogLevel(l Level)
InitLogLevel sets all registered loggers to use the verbosity indicated as command line flags
func MustGetLogger ¶
func MustGetLogger(moduleName string) *logging.Logger
MustGetLogger returns a logger for the given package or panics
Types ¶
Click to show internal directories.
Click to hide internal directories.