Documentation ¶
Overview ¶
Package common provides some useful functions and objects that may be used across all the components implemented in this project One example is the default logger
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.SugaredLogger = NewLogger(Dbg)
Functions ¶
func ConfigGlobalLogger ¶
func ConfigGlobalLogger(cfg LogCfg)
func NewLogger ¶
func NewLogger(cfg LogCfg) *zap.SugaredLogger
Types ¶
Click to show internal directories.
Click to hide internal directories.