Title: Add Logs to the JavaScript SDK · Issue #15526 · getsentry/sentry-javascript · GitHub
Open Graph Title: Add Logs to the JavaScript SDK · Issue #15526 · getsentry/sentry-javascript
X Title: Add Logs to the JavaScript SDK · Issue #15526 · getsentry/sentry-javascript
Description: In #15442 we created an experimental logging API to test out the new logging product. Based on the experimental API, we devised unified public API we'd like all SDKs to implement: https://www.notion.so/sentry/Logs-in-the-SDK-1a48b10e4b5d...
Open Graph Description: In #15442 we created an experimental logging API to test out the new logging product. Based on the experimental API, we devised unified public API we'd like all SDKs to implement: https://www.notio...
X Description: In #15442 we created an experimental logging API to test out the new logging product. Based on the experimental API, we devised unified public API we'd like all SDKs to implement: https://www.n...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/15526
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add Logs to the JavaScript SDK","articleBody":"In https://github.com/getsentry/sentry-javascript/pull/15442 we created an experimental logging API to test out the new logging product.\n\nBased on the experimental API, we devised unified public API we'd like all SDKs to implement: https://www.notion.so/sentry/Logs-in-the-SDK-1a48b10e4b5d80b1827fe14d9fd0236b#1a48b10e4b5d80a782a9efc6fd463acf\n\nThis task looks at implementing this logging API in the JavaScript SDKs\n\n- [x] Define logs protocol and add log envelope types: https://github.com/getsentry/sentry-javascript/pull/15530\n- [x] Implement log buffering and flushing logic on client: https://github.com/getsentry/sentry-javascript/pull/15717\n- [x] Implement public API and flushing strategy for Browser https://github.com/getsentry/sentry-javascript/pull/15763\n- [x] Implement public API and flushing strategy for Node.js https://github.com/getsentry/sentry-javascript/pull/15764\n- [x] Add support for string parameterization in logging methods https://github.com/getsentry/sentry-javascript/pull/15812\n- [x] Add `beforeSendLog` option and functionality https://github.com/getsentry/sentry-javascript/pull/15814\n- [x] Add basic integration tests for browser https://github.com/getsentry/sentry-javascript/pull/15815","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2025-02-27T15:04:21Z","url":"https://github.com/getsentry/sentry-javascript/issues/15526"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67d8e76c-75dd-2788-fea9-b2372bb3e717 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB68:3488ED:719B1:9DC8C:6B040001 |
| html-safe-nonce | 3dc20eb198a1f5e99bdda6659d1af34fdc4f3c3731a70498f61fe81851f8fa7e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjY4OjM0ODhFRDo3MTlCMTo5REM4Qzo2QjA0MDAwMSIsInZpc2l0b3JfaWQiOiI3NTE5MTQxNDUyODAxNjM4NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 19b9b591964469ea07660fa4f38e984855436c35703fb2c11e1778196c469458 |
| hovercard-subject-tag | issue:2884793438 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/15526/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a2a040997a7e5ac1aadd43cf5b9f622f49139e9fc2cffece09ae07331bbd28d6/getsentry/sentry-javascript/issues/15526 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a2a040997a7e5ac1aadd43cf5b9f622f49139e9fc2cffece09ae07331bbd28d6/getsentry/sentry-javascript/issues/15526 |
| og:image:alt | In #15442 we created an experimental logging API to test out the new logging product. Based on the experimental API, we devised unified public API we'd like all SDKs to implement: https://www.notio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width