Skip to content

Commit

Permalink
docs: Update README.md to document change from hub to scope
Browse files Browse the repository at this point in the history
  • Loading branch information
paveldedik authored Oct 21, 2024
1 parent 5e0dfd8 commit 6f9c5ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ Do not forget to add the `structlog.stdlib.add_log_level` and optionally the
- `ignore_loggers` A list of logger names to ignore any events from.
- `verbose` Report the action taken by the logger in the `event_dict`.
Default is `False`.
- `hub` Optionally specify `sentry_sdk.Hub`.
- `scope` Optionally specify `sentry_sdk.Client` (in `structlog-sentry<2.2`
this corresponds to `hub: sentry_sdk.Hub`).

Now events are automatically captured by Sentry with `log.error()`:

Expand Down

0 comments on commit 6f9c5ee

Please sign in to comment.