Enhancement: add default_json_serializer
to __all__
in litestar.logging.config
#3489
Labels
Enhancement
This is a new feature or request
Summary
When customizing
StructLoggingConfig
withstructlog.processors.JSONRenderer
processor, it is convenient to usedefault_json_serializer
.However the function is currently not in
__all__
, causing linting errors.A quick solution would be to add it to module's
__all__
, but maybe we can re-useencode_json
?Basic Example
Here's an example of using
structlog.processors.JSONRenderer
.Drawbacks and Impact
No response
Unresolved questions
No response
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: