Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions includes/logs/javascript-console-logging-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ You can also configure the SDK to send logs via the JavaScript console object, u
Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [
// send console.log, console.error, and console.warn calls as logs to Sentry
Sentry.consoleLoggingIntegration({ levels: ["log", "error", "warn"] }),
// send console.log, console.warn, and console.error calls as logs to Sentry
Sentry.consoleLoggingIntegration({ levels: ["log", "warn", "error"] }),
],
});
```
Expand Down
4 changes: 2 additions & 2 deletions platform-includes/llm-rules-logs/javascript.nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Sentry.init({
Sentry.init({
dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
integrations: [
// send console.log, console.error, and console.warn calls as logs to Sentry
Sentry.consoleLoggingIntegration({ levels: ["log", "error", "warn"] }),
// send console.log, console.warn, and console.error calls as logs to Sentry
Sentry.consoleLoggingIntegration({ levels: ["log", "warn", "error"] }),
],
});
```
Expand Down
4 changes: 2 additions & 2 deletions platform-includes/llm-rules-logs/javascript.node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Sentry.init({
Sentry.init({
dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
integrations: [
// send console.log, console.error, and console.warn calls as logs to Sentry
Sentry.consoleLoggingIntegration({ levels: ["log", "error", "warn"] }),
// send console.log, console.warn, and console.error calls as logs to Sentry
Sentry.consoleLoggingIntegration({ levels: ["log", "warn", "error"] }),
],
});
```
Expand Down
2 changes: 1 addition & 1 deletion platform-includes/logs/requirements/javascript.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Logs for JavaScript are supported in Sentry JavaScript SDK version `9.17.0` and above.
Logs for JavaScript are supported in Sentry JavaScript SDK version `9.41.0` and above.

<PlatformSection supported={["javascript"]}>

Expand Down
Loading