Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = initializeLogger()
A global instance of our zaplog with custom encoding configs
View Source
var RequestIdCtxKey = &ContextKey{echo.HeaderXRequestID}
The Key ID for the Request ID provided from a http request
Functions ¶
func SetLogger ¶
func SetLogger(logger *zap.SugaredLogger) *zap.SugaredLogger
Sets a sugared logger to the current global logger instance
Types ¶
Click to show internal directories.
Click to hide internal directories.