René's URL Explorer Experiment


Title: ref: Avoid using global singleton for logger by mydea · Pull Request #8880 · getsentry/sentry-javascript · GitHub

Open Graph Title: ref: Avoid using global singleton for logger by mydea · Pull Request #8880 · getsentry/sentry-javascript

X Title: ref: Avoid using global singleton for logger by mydea · Pull Request #8880 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Instead of #8873, this tries to simplify the logger to avoid the global lookup. If you have more than one utils, having multiple loggers would be the least of your problems. So IMHO no need to spec...

X Description: Instead of #8873, this tries to simplify the logger to avoid the global lookup. If you have more than one utils, having multiple loggers would be the least of your problems. So IMHO no need to spec...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/8880

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:715f447d-ac0d-d040-38ed-c148c86f70e9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id81AC:3F7031:1CA69D:2769FA:6B044964
html-safe-noncec22e3a0860b811722b6fe1dd3b528ba00aa0df28f03cc655b045800c8b65bf5f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUFDOjNGNzAzMToxQ0E2OUQ6Mjc2OUZBOjZCMDQ0OTY0IiwidmlzaXRvcl9pZCI6Ijc0NTgyNzE2OTU1NDAwNzg5NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac95689370ea962d5d057b29e892154d273d03245975377995478e693c9c13b515
hovercard-subject-tagpull_request:1492016002
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/8880/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/50baf087586fa085a608ba00dafd5a27871de06682be37b381a96c523681513c/getsentry/sentry-javascript/pull/8880
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50baf087586fa085a608ba00dafd5a27871de06682be37b381a96c523681513c/getsentry/sentry-javascript/pull/8880
og:image:altInstead of #8873, this tries to simplify the logger to avoid the global lookup. If you have more than one utils, having multiple loggers would be the least of your problems. So IMHO no need to spec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemydea
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/8880#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8880
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8880
Sign uphttps://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
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8880
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8880
Reloadhttps://github.com/getsentry/sentry-javascript/pull/8880
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/better-logginghttps://github.com/getsentry/sentry-javascript/tree/fn/better-logging
Conversationhttps://github.com/getsentry/sentry-javascript/pull/8880
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/8880/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/8880/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/8880/files
ref: Avoid using global singleton for loggerhttps://github.com/getsentry/sentry-javascript/pull/8880#top
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/better-logginghttps://github.com/getsentry/sentry-javascript/tree/fn/better-logging
https://github.com/mydea
mydeahttps://github.com/mydea
Aug 28, 2023https://github.com/getsentry/sentry-javascript/pull/8880#issue-1869686477
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
#8873https://github.com/getsentry/sentry-javascript/pull/8873
#8741https://github.com/getsentry/sentry-javascript/issues/8741
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
https://github.com/mydea
mydeahttps://github.com/mydea
Aug 28, 2023https://github.com/getsentry/sentry-javascript/pull/8880#event-10208770890
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 28, 2023https://github.com/getsentry/sentry-javascript/pull/8880#issuecomment-1695644689
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/99b05ba04deccc977606879d53ddb870c7c54085..c629f354c617b02ee0ead4dc1b838cb4867ff4f4
99b05bahttps://github.com/getsentry/sentry-javascript/commit/99b05ba04deccc977606879d53ddb870c7c54085
c629f35https://github.com/getsentry/sentry-javascript/commit/c629f354c617b02ee0ead4dc1b838cb4867ff4f4
Compare https://github.com/getsentry/sentry-javascript/compare/99b05ba04deccc977606879d53ddb870c7c54085..c629f354c617b02ee0ead4dc1b838cb4867ff4f4
August 28, 2023 13:23https://github.com/getsentry/sentry-javascript/pull/8880#event-10209231015
August 29, 2023 08:12https://github.com/getsentry/sentry-javascript/pull/8880#event-10217836862
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/5345ce629ecf443e4bdece180ce15c4b0e54ebe0..39f404d0e02cf410c1b554bc6d1693f54c30f433
5345ce6https://github.com/getsentry/sentry-javascript/commit/5345ce629ecf443e4bdece180ce15c4b0e54ebe0
39f404dhttps://github.com/getsentry/sentry-javascript/commit/39f404d0e02cf410c1b554bc6d1693f54c30f433
Compare https://github.com/getsentry/sentry-javascript/compare/5345ce629ecf443e4bdece180ce15c4b0e54ebe0..39f404d0e02cf410c1b554bc6d1693f54c30f433
August 29, 2023 11:38https://github.com/getsentry/sentry-javascript/pull/8880#event-10220093794
https://github.com/mydea
mydeahttps://github.com/mydea
August 29, 2023 14:51https://github.com/getsentry/sentry-javascript/pull/8880#event-10222381715
https://github.com/mydea
mydeahttps://github.com/mydea
AbhiPrasadhttps://github.com/AbhiPrasad
Lms24https://github.com/Lms24
lforsthttps://github.com/lforst
August 29, 2023 14:52https://github.com/getsentry/sentry-javascript/pull/8880#event-10222383464
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Aug 29, 2023 https://github.com/getsentry/sentry-javascript/pull/8880#pullrequestreview-1600684228
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8880/files
https://github.com/mydea
mydeahttps://github.com/mydea
Aug 30, 2023 https://github.com/getsentry/sentry-javascript/pull/8880#ref-pullrequest-1869195696
fix(replay): Better guard for logger.info #8873 https://github.com/getsentry/sentry-javascript/pull/8873
mydeahttps://github.com/mydea
August 30, 2023 08:14https://github.com/getsentry/sentry-javascript/pull/8880#commits-pushed-1860daa
https://github.com/mydea
ref: Avoid using global singleton for loggerhttps://github.com/getsentry/sentry-javascript/pull/8880/commits/1860daadd5f22d64ff9382c3115b5785e2989d31
1860daahttps://github.com/getsentry/sentry-javascript/pull/8880/commits/1860daadd5f22d64ff9382c3115b5785e2989d31
https://github.com/mydea
fix circular dependencyhttps://github.com/getsentry/sentry-javascript/pull/8880/commits/c5e3e7c4ac73dea458a72dd5e09d36ed3fd28317
c5e3e7chttps://github.com/getsentry/sentry-javascript/pull/8880/commits/c5e3e7c4ac73dea458a72dd5e09d36ed3fd28317
https://github.com/mydea
add debug testhttps://github.com/getsentry/sentry-javascript/pull/8880/commits/03025a7235d8ec5007e8be205fa7bb12307c13ba
03025a7https://github.com/getsentry/sentry-javascript/pull/8880/commits/03025a7235d8ec5007e8be205fa7bb12307c13ba
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/fb6ca147a901b236a8fd14c596e3157c9f056a37..03025a7235d8ec5007e8be205fa7bb12307c13ba
fb6ca14https://github.com/getsentry/sentry-javascript/commit/fb6ca147a901b236a8fd14c596e3157c9f056a37
03025a7https://github.com/getsentry/sentry-javascript/commit/03025a7235d8ec5007e8be205fa7bb12307c13ba
Compare https://github.com/getsentry/sentry-javascript/compare/fb6ca147a901b236a8fd14c596e3157c9f056a37..03025a7235d8ec5007e8be205fa7bb12307c13ba
August 30, 2023 06:33https://github.com/getsentry/sentry-javascript/pull/8880#event-10228952536
https://github.com/mydea
fix debug testhttps://github.com/getsentry/sentry-javascript/pull/8880/commits/7278e3b1ff9957c150e5949c2153ededaf3e2bfe
7278e3bhttps://github.com/getsentry/sentry-javascript/pull/8880/commits/7278e3b1ff9957c150e5949c2153ededaf3e2bfe
https://github.com/Lms24
Lms24https://github.com/Lms24
Aug 30, 2023 https://github.com/getsentry/sentry-javascript/pull/8880#pullrequestreview-1602084318
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8880/files/7278e3b1ff9957c150e5949c2153ededaf3e2bfe
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/8880#pullrequestreview-1602084318
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
packages/browser-integration-tests/suites/public-api/debug/test.tshttps://github.com/getsentry/sentry-javascript/pull/8880/files/7278e3b1ff9957c150e5949c2153ededaf3e2bfe#diff-0d4631f22aa9844ae0e61061a3fc7d00a46a3142426478196a3f1fd923e8c177
Lms24https://github.com/Lms24
Aug 30, 2023https://github.com/getsentry/sentry-javascript/pull/8880#discussion_r1309828239
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
mydeahttps://github.com/mydea
Aug 30, 2023https://github.com/getsentry/sentry-javascript/pull/8880#discussion_r1310099923
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
https://github.com/lforst
lforsthttps://github.com/lforst
Aug 30, 2023 https://github.com/getsentry/sentry-javascript/pull/8880#pullrequestreview-1602204164
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/8880/files/7278e3b1ff9957c150e5949c2153ededaf3e2bfe
lforsthttps://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/8880#pullrequestreview-1602204164
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
https://github.com/mydea
mydeahttps://github.com/mydea
0138d1chttps://github.com/getsentry/sentry-javascript/commit/0138d1c40d123b2a33f83ecd6d403cf78ffafe26
Aug 30, 2023https://github.com/getsentry/sentry-javascript/pull/8880#event-10231703457
https://github.com/mydea
mydeahttps://github.com/mydea
August 30, 2023 11:08https://github.com/getsentry/sentry-javascript/pull/8880#event-10231703616
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F8880
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/8880/files/7278e3b1ff9957c150e5949c2153ededaf3e2bfe
https://github.com/lforst
lforst https://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/8880/files/7278e3b1ff9957c150e5949c2153ededaf3e2bfe
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/8880/files/fb6ca147a901b236a8fd14c596e3157c9f056a37
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
https://github.com/mydea
mydea https://github.com/mydea
Error in replay logging: TypeError: F.kg.info is not a function https://github.com/getsentry/sentry-javascript/issues/8741
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/8880
https://github.com/mydea
https://github.com/lforst
https://github.com/Lms24
https://github.com/AbhiPrasad
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.