| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a2c04237-6d9f-f216-b21a-89e7c778382b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B118:3BC3E6:4E38F4:65CF66:6B061EF4 |
| html-safe-nonce | 107e6bbc07db1ac9d378fa5f066834584303d2786c13adba751f31dd570c7961 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTE4OjNCQzNFNjo0RTM4RjQ6NjVDRjY2OjZCMDYxRUY0IiwidmlzaXRvcl9pZCI6IjUwMTI3MTMyMzI2ODM5MDA2NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7e1b146e50040381fe95459debf39ca3644a6b944f4d69b809a4ac8fc869f3a3 |
| hovercard-subject-tag | pull_request:2656116836 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/16897/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/88186ec3ab323c4f185e610a333b73ca391683c8b3badda9c6aa7a9795329771/getsentry/sentry-javascript/pull/16897 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/88186ec3ab323c4f185e610a333b73ca391683c8b3badda9c6aa7a9795329771/getsentry/sentry-javascript/pull/16897 |
| og:image:alt | This has bugged me often already, and I looked into it again nudged by #16846. Today the logger export from core has a side effect and reads from the global. This is a bit weird...
This PR rewrites... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mydea |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| turbo-cache-control | no-cache |
| 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 | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/16897#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F16897 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F16897 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript |
| Reload | https://github.com/getsentry/sentry-javascript/pull/16897 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/16897 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/16897 |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues330 (330) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests58 (58) | https://github.com/getsentry/sentry-javascript/pulls |
| Discussions | https://github.com/getsentry/sentry-javascript/discussions |
| Actions | https://github.com/getsentry/sentry-javascript/actions |
| Security and quality7 (7) | https://github.com/getsentry/sentry-javascript/security |
| Insights | https://github.com/getsentry/sentry-javascript/insights |
| https://github.com/getsentry/sentry-javascript |
| AbhiPrasad | https://github.com/AbhiPrasad |
| develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| fn/logger-lazy | https://github.com/getsentry/sentry-javascript/tree/fn/logger-lazy |
| Conversation | https://github.com/getsentry/sentry-javascript/pull/16897 |
| Commits1 (1) | https://github.com/getsentry/sentry-javascript/pull/16897/commits |
| Checks | https://github.com/getsentry/sentry-javascript/pull/16897/checks |
| Files changed | https://github.com/getsentry/sentry-javascript/pull/16897/files |
| ref(core): Rewrite logger to avoid side effects | https://github.com/getsentry/sentry-javascript/pull/16897#top |
| AbhiPrasad | https://github.com/AbhiPrasad |
| develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| fn/logger-lazy | https://github.com/getsentry/sentry-javascript/tree/fn/logger-lazy |
|
| https://github.com/mydea |
| mydea | https://github.com/mydea |
| Jul 10, 2025 | https://github.com/getsentry/sentry-javascript/pull/16897#issue-3219535530 |
| #16846 | https://github.com/getsentry/sentry-javascript/issues/16846 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/16897 |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
| Jul 10, 2025 | https://github.com/getsentry/sentry-javascript/pull/16897#event-18567070518 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jul 10, 2025 | https://github.com/getsentry/sentry-javascript/pull/16897#issuecomment-3057665366 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/16897 |
| View base workflow run | https://github.com/getsentry/sentry-javascript/actions/runs/16197581988 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/16897 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
|
Jul 10, 2025
| https://github.com/getsentry/sentry-javascript/pull/16897#pullrequestreview-3006101673 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/16897/files |
| AbhiPrasad | https://github.com/AbhiPrasad |
| https://github.com/getsentry/sentry-javascript/pull/16897#pullrequestreview-3006101673 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/16897 |
|
| https://github.com/mydea |
| ref(core): Rewrite logger to avoid side effects | https://github.com/getsentry/sentry-javascript/pull/16897/commits/c82b4e8d27f011daa3d44417d7c86bc45effc384 |
| c82b4e8 | https://github.com/getsentry/sentry-javascript/pull/16897/commits/c82b4e8d27f011daa3d44417d7c86bc45effc384 |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
| force-pushed | https://github.com/getsentry/sentry-javascript/compare/fb47d113ec66f49ef27eb36ee6b9c146e33d71fe..c82b4e8d27f011daa3d44417d7c86bc45effc384 |
| fb47d11 | https://github.com/getsentry/sentry-javascript/commit/fb47d113ec66f49ef27eb36ee6b9c146e33d71fe |
| c82b4e8 | https://github.com/getsentry/sentry-javascript/commit/c82b4e8d27f011daa3d44417d7c86bc45effc384 |
|
Compare
| https://github.com/getsentry/sentry-javascript/compare/fb47d113ec66f49ef27eb36ee6b9c146e33d71fe..c82b4e8d27f011daa3d44417d7c86bc45effc384 |
| July 10, 2025 15:08 | https://github.com/getsentry/sentry-javascript/pull/16897#event-18568265183 |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
| July 10, 2025 15:09 | https://github.com/getsentry/sentry-javascript/pull/16897#event-18568266872 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 10, 2025
| https://github.com/getsentry/sentry-javascript/pull/16897#pullrequestreview-3006179121 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/16897/files/c82b4e8d27f011daa3d44417d7c86bc45effc384 |
| cursor | https://github.com/apps/cursor |
| https://github.com/getsentry/sentry-javascript/pull/16897#pullrequestreview-3006179121 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| sentry-javascript/packages/core/src/utils/logger.ts | https://github.com/getsentry/sentry-javascript/blob/c82b4e8d27f011daa3d44417d7c86bc45effc384/packages/core/src/utils/logger.ts#L128-L135 |
| c82b4e8 | https://github.com/getsentry/sentry-javascript/commit/c82b4e8d27f011daa3d44417d7c86bc45effc384 |
| sentry-javascript/packages/core/src/utils/logger.ts | https://github.com/getsentry/sentry-javascript/blob/c82b4e8d27f011daa3d44417d7c86bc45effc384/packages/core/src/utils/logger.ts#L76-L87 |
| c82b4e8 | https://github.com/getsentry/sentry-javascript/commit/c82b4e8d27f011daa3d44417d7c86bc45effc384 |
| Fix in Cursor | https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MSJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OjJmYjlhNzlhLTc2ZWItNDM1ZC05YzlkLTNlNDgwNDgxZjkyZCIsImVuY3J5cHRpb25LZXkiOiJpVFFRUzFITndRb0NfY2ZmbUdCX3FXVUhF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Z5m_mdJ2PvaUBPujsU7U2X3Xm4M5-2AO31eoF04EVCbaYgIVzKgQwKdzQrhxe8NdyDt2ff5oqH1oyaahJvSt6RvkkVHo0lo1J_N_DaO8RYpcbzF9Z4s4MK92VcUVi1VIFi5jHjieLL1H3oh-R_2E3eveRJQbAaIZiEtjxs7XLKCQ81mkcagYs_zGjRGk6KLuA9DxAiipUK0v5Fv8LBbIhTtYAefbIFScnKUhncmNH_V8SGJNh1MgOzQQkn_tuzIn0KMakMZbg5F1NUfY2aoQrot2g1eBlbXU-6QLJh5K30nbZkQ |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/16897 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
|
Jul 10, 2025
| https://github.com/getsentry/sentry-javascript/pull/16897#pullrequestreview-3006208545 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/16897/files/c82b4e8d27f011daa3d44417d7c86bc45effc384 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| Jul 10, 2025 | https://github.com/getsentry/sentry-javascript/pull/16897#issuecomment-3057986420 |
| #16901 | https://github.com/getsentry/sentry-javascript/issues/16901 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/16897 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| fbf7b1c | https://github.com/getsentry/sentry-javascript/commit/fbf7b1c99cd02ea32f90511fb6eb39ed4845bd4b |
| Jul 10, 2025 | https://github.com/getsentry/sentry-javascript/pull/16897#event-18568916034 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| July 10, 2025 15:42 | https://github.com/getsentry/sentry-javascript/pull/16897#event-18568916807 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F16897 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/getsentry/sentry-javascript/pull/16897/files/c82b4e8d27f011daa3d44417d7c86bc45effc384 |
|
| https://github.com/AbhiPrasad |
|
AbhiPrasad
| https://github.com/AbhiPrasad |
|
| https://github.com/getsentry/sentry-javascript/pull/16897/files/c82b4e8d27f011daa3d44417d7c86bc45effc384 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/16897 |
|
| https://github.com/mydea |
|
mydea
| https://github.com/mydea |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/16897 |
|
| https://github.com/mydea |
|
| https://github.com/AbhiPrasad |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |