Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupZerolog ¶
SetupZerolog assumes that a zerolog logger is attached to the application context <g.Request.Context()> It reconfigures the gin router to log using this logger For this a request id gets injected into the current request Logger will be set to Error level per default, use SetupZerologWithLevel to change this
func SetupZerologWithLevel ¶ added in v2.3.12
SetupZerologWithLevel assumes that a zerolog logger is attached to the application context <g.Request.Context()> It reconfigures the gin router to log using this logger For this a request id gets injected into the current request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.