Documentation
¶
Overview ¶
Package logger provides functionality related to logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogger ¶ added in v1.5.0
func GetLogger() *zap.SugaredLogger
GetLogger returns the global logger instance.
func InitLoggerInRootCmd ¶
InitLoggerInRootCmd inits the provided logger instance based on command's flags. This is meant to be run by the root command in PersistentPreRun step.
func MustInitLogger ¶
MustInitLogger initializes logger and panics in case of an error. // FIXME Test this.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.