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 eb3129b commit 202473bCopy full SHA for 202473b
CHANGELOG.md
@@ -6,7 +6,14 @@
6
7
- Add structured logs support ([#509](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/509))
8
9
+Read the [full documentation](https://docs.sentry.io/platforms/kotlin/guides/kotlin-multiplatform/logs) for more details.
10
+
11
```kotlin
12
+Sentry.init {
13
+ it.dsn = "YOUR_DSN"
14
+ // Enable logs to be sent to Sentry
15
+ it.logs.enabled = true
16
+}
17
// Simple API
18
Sentry.logger.warn("Rate limit reached for %s", endpoint) {
19
this["currentRequests"] = 120
0 commit comments