What's Changed
- Support more logging configuration by @rgalanakis in #5 and 088b14d
- Add a custom ID provider rather than always using uuid4
- Add a MakeHandler to allow callers to override the
log handler. - Add TracingHandler, which provides an easy log handler
that can log out trace and span ids. - Allow excluding trace_id from logger attrs,
for use primarily with TracingHandler - Allow AfterRequest to return a null logger
to skip logging. - The logger passed to the request no longer has
all the request fields. This is a massive number
of fields which just spams logs. Instead,
the trace_id can be used for correllation.
Full Changelog: v2.0.0...v2.1.1