| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c7f23a0f-e426-d5cb-e03f-c70cc0deee7a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AA88:3C6CAF:16D676B:1F71C94:6B058009 |
| html-safe-nonce | 0b4fb296b2e8d51fc782bcc45442f1a364acb489e96e4f5f92be31ae43e54d6b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTg4OjNDNkNBRjoxNkQ2NzZCOjFGNzFDOTQ6NkIwNTgwMDkiLCJ2aXNpdG9yX2lkIjoiNjgzNzQxMTg0NzY2MzM1Mzg2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1c63b4e9d22a9ea18d7b78db131f69ddf828eeb8eee1560907ef66d1796cc228 |
| hovercard-subject-tag | pull_request:2840667663 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/pull/17698/files |
| twitter:image | https://avatars.githubusercontent.com/u/18689448?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/18689448?s=400&v=4 |
| og:image:alt | Supercedes #16874
This PR makes two changes
It adds logger as an export to @sentry/core, and then refactors the browser, cloudflare and vercel-edge packages to just re-export @sentry/core's lo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f089e689ad324655ac44bf6cdbc04d976105b374 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/17698/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17698%2Ffiles |
| 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%2F17698%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-javascript |
| Reload | https://github.com/getsentry/sentry-javascript/pull/17698/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/17698/files |
| Reload | https://github.com/getsentry/sentry-javascript/pull/17698/files |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues334 (334) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests54 (54) | 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose |
| AbhiPrasad | https://github.com/AbhiPrasad |
| develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| abhi-logs-in-core | https://github.com/getsentry/sentry-javascript/tree/abhi-logs-in-core |
|
Conversation
6
| https://github.com/getsentry/sentry-javascript/pull/17698 |
|
Commits
1
| https://github.com/getsentry/sentry-javascript/pull/17698/commits |
|
Checks
0
| https://github.com/getsentry/sentry-javascript/pull/17698/checks |
|
Files changed
| https://github.com/getsentry/sentry-javascript/pull/17698/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/17698/files |
|
feat(core): Add logger to core and allow scope to be passed log methods
| https://github.com/getsentry/sentry-javascript/pull/17698/files#top |
|
Show all changes
1 commit
| https://github.com/getsentry/sentry-javascript/pull/17698/files |
|
e8359c4
feat(core): Add logger to core and allow scope to be passed log methods
AbhiPrasad Sep 18, 2025
| https://github.com/getsentry/sentry-javascript/pull/17698/commits/e8359c448ef11554e858535e58f825d3747ffc5d |
|
Clear filters
| https://github.com/getsentry/sentry-javascript/pull/17698/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/17698/files |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/17698/files |
|
index.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-a9cd8d1cb9d3a4e4f87e0e1d7f7e93eef56d6656d644e7f349bc8e6d776a1f99 |
|
client.test.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
|
log.test.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-aa809e118e60593beafbb63d3cd2d6d795b0e2e2a6097271f08094911f4cd8cd |
|
index.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-1d2a2b56ad20e7e5b13936929d10bebf30d56ffa7cdc64f686dff4ae6cfafb60 |
|
exports.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-02125f836f4d0ca8db2ec371b1b997946c659c864fa84f8822df8b0cc16f4425 |
|
index.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-9a4ceebe7c6f86856371906c3f061d3b56b7457022b05179884a113e7ced67e8 |
|
consola.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-8376a715979df2ec0b50b286d45b8e5b1123075974b3dcb097f17b9ae9d65aa0 |
|
console-integration.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-7dda591c52aa8a0c0104967f4225ac48e04e17547ecf652442b9b8a0d99b03fe |
|
internal.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-00c4d70e0e6faf85ac6924f61430b0b8e3fea23e7a6b3e898c1770b8603c1bf0 |
|
public-api.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4f407741e02f7dbb03fea6bf6103eb10b45652d3aeca4953048477a6a601a7d6 |
|
server-runtime-client.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-32e2bc943417e13397a659945f050f7b239bbea2d4129511a448cdc16815bb80 |
|
consola.test.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-7dd5df7829dc3935c2fcb42fb689ced12825f3c36a2be3c2ad1c33f158f49024 |
|
internal.test.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-394c01cc818f2396ad9399ed61dd829d9336fc6b88ac22870011ad5ad114e571 |
|
server-runtime-client.test.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-35883bd6fac38648b710458db75ca130617f6c254f4bc5e44e137478c8ae8816 |
|
capture.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-60750b093e7e8fd45720bb86a251a7f6fc92a948afd9f2b32618fcdc9c95337e |
|
exports.test.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-b8ab1796cb90b809dc7307336ee6a95f32a85c4153144a67af2dc03a1223f514 |
|
index.ts
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-455cee48a510fe07b706aa613ad64c1bed041259e57ec537a6ed434104b24687 |
| packages/browser/src/index.ts | https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-a9cd8d1cb9d3a4e4f87e0e1d7f7e93eef56d6656d644e7f349bc8e6d776a1f99 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/e8359c448ef11554e858535e58f825d3747ffc5d/packages/browser/src/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/17698/{{ revealButtonHref }} |
| Lms24 | https://github.com/Lms24 |
| Sep 19, 2025 | https://github.com/getsentry/sentry-javascript/pull/17698/files#r2362113329 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/17698/files |
| AbhiPrasad | https://github.com/AbhiPrasad |
| Sep 19, 2025 | https://github.com/getsentry/sentry-javascript/pull/17698/files#r2362945909 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://private-user-images.githubusercontent.com/18689448/491620928-06726fb8-542c-4210-befc-d22018d80e6e.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU1MjI4NjksIm5iZiI6MTc5NTUyMjU2OSwicGF0aCI6Ii8xODY4OTQ0OC80OTE2MjA5MjgtMDY3MjZmYjgtNTQyYy00MjEwLWJlZmMtZDIyMDE4ZDgwZTZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTI0VDEyMTYwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0MDM5MDRhMzZkZjkwN2UxNzY4OTU2YmFkZjI5N2MyNjJlZTJkYzBhYzcxZGFjMTVlMWFjYzM5MjQwOWZmYTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.EsvgBgNHvhn1KD_c1BQBsQOQWjaT7ZxIPVrdiP0W5_E |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/17698/files |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-a9cd8d1cb9d3a4e4f87e0e1d7f7e93eef56d6656d644e7f349bc8e6d776a1f99 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-a9cd8d1cb9d3a4e4f87e0e1d7f7e93eef56d6656d644e7f349bc8e6d776a1f99 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-a9cd8d1cb9d3a4e4f87e0e1d7f7e93eef56d6656d644e7f349bc8e6d776a1f99 |
| packages/browser/test/client.test.ts | https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/e8359c448ef11554e858535e58f825d3747ffc5d/packages/browser/test/client.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/17698/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-4504d6cf3deee28796e4c40badd66cfd41ebb55f8e6cea940558928bcba9a2c4 |
| packages/browser/test/log.test.ts | https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-aa809e118e60593beafbb63d3cd2d6d795b0e2e2a6097271f08094911f4cd8cd |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/d03964021465388626560980032c56d6d475c897/packages/browser/test/log.test.ts |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/17698/files |
| packages/cloudflare/src/index.ts | https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-1d2a2b56ad20e7e5b13936929d10bebf30d56ffa7cdc64f686dff4ae6cfafb60 |
|
View file
| https://github.com/getsentry/sentry-javascript/blob/e8359c448ef11554e858535e58f825d3747ffc5d/packages/cloudflare/src/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/17698/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-1d2a2b56ad20e7e5b13936929d10bebf30d56ffa7cdc64f686dff4ae6cfafb60 |
|
| https://github.com/getsentry/sentry-javascript/pull/17698/files#diff-1d2a2b56ad20e7e5b13936929d10bebf30d56ffa7cdc64f686dff4ae6cfafb60 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/17698/files |
|
| 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 |