Documentation
¶
Index ¶
Constants ¶
View Source
const (
// UserNameKey is the key for the username in the context
UserNameKey = contextKeyUserName("username")
)
Variables ¶
View Source
var ( // Log variable is a globally accessible variable which will be initialized when the InitializeZapCustomLogger function is executed successfully. Log *zap.Logger )
Functions ¶
func GetGinLogger ¶
func GetGinLogger(logUsernameParam bool) gin.HandlerFunc
func InitLogger ¶ added in v1.1.1
func InitLogger()
InitLogger initializes the logger with the given configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.