You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we can create a logger per request attach it to the context and libraries can use the logger.
With a convenience method like log.LoggerFromContext(ctx) libraries get the logger from the context or the default logger if none is attached. This way all log statements for a handler can be matched via a unique ID.
The text was updated successfully, but these errors were encountered:
So we can create a logger per request attach it to the context and libraries can use the logger.
With a convenience method like
log.LoggerFromContext(ctx)
libraries get the logger from the context or the default logger if none is attached. This way all log statements for a handler can be matched via a unique ID.The text was updated successfully, but these errors were encountered: