We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee97003 commit 4dcd538Copy full SHA for 4dcd538
CHANGELOG.md
@@ -13,6 +13,8 @@
13
This is how you can use it (Sentry Logs is in beta right now so the API can still change):
14
15
```python
16
+ import logging
17
+
18
import sentry_sdk
19
from sentry_sdk.integrations.logging import LoggingIntegration
20
@@ -23,12 +25,11 @@
23
25
"enable_sentry_logs": True
24
26
}
27
integrations=[
- LoggingIntegration(sentry_logs_level="error"),
28
+ LoggingIntegration(sentry_logs_level=logging.ERROR),
29
]
30
)
31
32
# Your existing logging setup
- import logging
33
some_logger = logging.Logger("some-logger")
34
35
some_logger.info('In this example info events will not be sent to Sentry logs. my_value=%s', my_value)
0 commit comments