Skip to content

Commit 202473b

Browse files
committed
Update CHANGELOG
1 parent eb3129b commit 202473b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@
66

77
- Add structured logs support ([#509](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/509))
88

9+
Read the [full documentation](https://docs.sentry.io/platforms/kotlin/guides/kotlin-multiplatform/logs) for more details.
10+
911
```kotlin
12+
Sentry.init {
13+
it.dsn = "YOUR_DSN"
14+
// Enable logs to be sent to Sentry
15+
it.logs.enabled = true
16+
}
1017
// Simple API
1118
Sentry.logger.warn("Rate limit reached for %s", endpoint) {
1219
this["currentRequests"] = 120

0 commit comments

Comments
 (0)