mirror of https://github.com/jackc/pgx.git
This change introduces a new zerologadapter that allows users to pass the actual logger via context.Context. Especially HTTP middleware might choose to use `(*zerolog.Logger).WithContext` and `zerolog.Ctx`. Allowing users to extract the logger from the context keeps the full enriched logger available when pgx emits logs. |
||
---|---|---|
.. | ||
kitlogadapter | ||
log15adapter | ||
logrusadapter | ||
testingadapter | ||
zapadapter | ||
zerologadapter |