You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add new `Sentry.logger` for [Structured Logging](https://develop.sentry.dev/sdk/telemetry/logs/) feature ([#2620](https://github.com/getsentry/sentry-ruby/pull/2620))
17
+
To enable structured logging you need to turn on the `enable_logs` configuration option:
18
+
```ruby
19
+
Sentry.init do |config|
20
+
# ... your setup ...
21
+
config.enable_logs =true
22
+
end
23
+
```
24
+
:warning: When this is enabled, previous `Sentry.logger` should no longer be used for internal SDK
25
+
logging - it was replaced by `Sentry.configuration.sdk_logger` and should be used only by the SDK
26
+
itself and its extensions.
17
27
- New configuration option called `active_job_report_on_retry_error` which enables reporting errors on each retry error ([#2617](https://github.com/getsentry/sentry-ruby/pull/2617))
0 commit comments