Documentation
¶
Overview ¶
Package loggingx provides shared functions to initialize logging and reduce code duplication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(appName string, cfg Config) *zap.SugaredLogger
InitLogger returns a logger based on the config
Types ¶
Click to show internal directories.
Click to hide internal directories.