Skip to content

Commit

Permalink
docs: clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Sep 19, 2023
1 parent 80bf6ce commit 575e2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This behavior is analog to the one of the stdlib's logging.

## Transformations

*structlog* comes with {class}`structlog.processors.ExceptionRenderer` that allows you to remove the `exc_info` key and transform it into an `exception` key of a different format.
*structlog* comes with {class}`structlog.processors.ExceptionRenderer` that deduces and removes the `exc_info` key as outlined above, calls a user-supplied function with the synthesized `exc_info`, and stores its return value in the `exception` key.
The most common use-cases are already covered by the following processors:

{func}`structlog.processors.format_exc_info`
Expand Down

0 comments on commit 575e2a4

Please sign in to comment.