René's URL Explorer Experiment


Title: Add `loguru` integration by PerchunPak · Pull Request #1994 · getsentry/sentry-python · GitHub

Open Graph Title: Add `loguru` integration by PerchunPak · Pull Request #1994 · getsentry/sentry-python

X Title: Add `loguru` integration by PerchunPak · Pull Request #1994 · getsentry/sentry-python

Description: Actually, this is the solution in comments under #653 adapted to codebase and tested as well. #653 (comment) I also changed logging integration to use methods instead of functions in handlers, as in that way we can easily overwrite parts that are different in loguru integration. It shouldn't be a problem, as those methods are private and used only in that file. Please let me know if I missed something, or you have more ideas how to test this. Fixes #653.

Open Graph Description: Actually, this is the solution in comments under #653 adapted to codebase and tested as well. #653 (comment) I also changed logging integration to use methods instead of functions in handlers, as i...

X Description: Actually, this is the solution in comments under #653 adapted to codebase and tested as well. #653 (comment) I also changed logging integration to use methods instead of functions in handlers, as i...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/1994

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:54d99edf-6047-68f4-552b-73f243e43b21
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idADFE:1873F7:934374:C84B61:6B053B68
html-safe-nonce0de734223880a1fe9ca65aa9a9dbc3b2b4c7e81797b7fdad1af27ef4719c623e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREZFOjE4NzNGNzo5MzQzNzQ6Qzg0QjYxOjZCMDUzQjY4IiwidmlzaXRvcl9pZCI6IjI3ODc1NDg5ODA4MDcyODU2MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0953403dc0d22bbac32b3212bc59fbd722290cc81d814fbbaeccbeab96e27834
hovercard-subject-tagpull_request:1306467957
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-python/pull/1994/files
twitter:imagehttps://avatars.githubusercontent.com/u/68118654?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/68118654?s=400&v=4
og:image:altActually, this is the solution in comments under #653 adapted to codebase and tested as well. #653 (comment) I also changed logging integration to use methods instead of functions in handlers, as i...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/1994/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F1994%2Ffiles
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-python%2Fpull%2F1994%2Ffiles
Sign uphttps://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-python
Reloadhttps://github.com/getsentry/sentry-python/pull/1994/files
Reloadhttps://github.com/getsentry/sentry-python/pull/1994/files
Reloadhttps://github.com/getsentry/sentry-python/pull/1994/files
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues342 (342)https://github.com/getsentry/sentry-python/issues
Pull requests37 (37)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose
antonpirkerhttps://github.com/antonpirker
getsentry:masterhttps://github.com/getsentry/sentry-python/tree/master
Conversation 13 https://github.com/getsentry/sentry-python/pull/1994
Commits 14 https://github.com/getsentry/sentry-python/pull/1994/commits
Checks 0 https://github.com/getsentry/sentry-python/pull/1994/checks
Files changed https://github.com/getsentry/sentry-python/pull/1994/files
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/1994/files
Add loguru integration https://github.com/getsentry/sentry-python/pull/1994/files#top
Show all changes 14 commits https://github.com/getsentry/sentry-python/pull/1994/files
f18547c Add `loguru` integration PerchunPak Apr 8, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/f18547cd6d7c42bae3189ee56498b01d0cbb2e55
c3d96ee Mark with underscore prefix private things PerchunPak Apr 8, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/c3d96eefeb1886ecf05ea5b98f5134c1b379cf42
6aa1b21 Merge branch 'master' into add-loguru-integration antonpirker Apr 12, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/6aa1b214d887d5f55967c5df24aea64892929cca
28db3d0 Apply black PerchunPak Apr 12, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/28db3d0bdf4ddb924864cbfb1f0b617b989827f7
1af859c Add loguru to linting requirements PerchunPak Apr 12, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/1af859c1e28cdf50287e25fede8589087e8d181d
39c8d31 Run loguru tests with all supported versions PerchunPak Apr 14, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/39c8d31f244421ff0f16d13bf0de93d7cf225ac9
41c2130 Merge branch 'master' into add-loguru-integration antonpirker Apr 17, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/41c2130be8b791e74bc73264fb378f42d27e94be
3873ded Merge branch 'master' into add-loguru-integration antonpirker Apr 19, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/3873ded43840bff7dd8b96587e38fd3ec81d1237
5bb6e15 Merge branch 'master' into add-loguru-integration antonpirker Apr 26, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/5bb6e15514a33b5245dc7af03a33c7d2539121be
4845f21 Fix CI PerchunPak Apr 26, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/4845f210d367bfb0732ed27bede491f9a75fe35b
ee3d16b Merge branch 'master' into add-loguru-integration PerchunPak Apr 30, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/ee3d16b4ab30d3a925366eabeba595edc5b12b2c
9804f0f Merge branch 'master' into add-loguru-integration PerchunPak May 7, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/9804f0f214d711643e8942f85e0227108512867a
a65289e Merge branch 'master' into add-loguru-integration antonpirker May 9, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/a65289e752f1c1e2740fba2de6dde8c7eae9ca53
a23d8cb Merge branch 'master' into add-loguru-integration antonpirker May 9, 2023 https://github.com/getsentry/sentry-python/pull/1994/commits/a23d8cb76e20ff10334028abac3b50b0bcc1c7b1
Clear filters https://github.com/getsentry/sentry-python/pull/1994/files
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/1994/files
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/1994/files
test-integration-loguru.yml https://github.com/getsentry/sentry-python/pull/1994/files#diff-af576ce82a7f00d6911a8e9982f3b3b0f86cd80bfec601fee84e28e72efc453e
linter-requirements.txt https://github.com/getsentry/sentry-python/pull/1994/files#diff-92d9dfe0aae46762d13d42afbd54729d7acb80ed885c70eee6c5fad0c9e0f4d5
logging.py https://github.com/getsentry/sentry-python/pull/1994/files#diff-082d75c4fb445777f5397b46555e55bc0b47e323c0da52aae8038e5994532726
loguru.py https://github.com/getsentry/sentry-python/pull/1994/files#diff-1840fe60c01dca2f8ca2aada868dd6dc9d27d4d157eee23dcf6d87f0acc14131
setup.py https://github.com/getsentry/sentry-python/pull/1994/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
__init__.py https://github.com/getsentry/sentry-python/pull/1994/files#diff-e6be7f7b58ee84a247f7b9972383a8a6d29333a53e8e3f42bdf3ba9fd7909269
test_loguru.py https://github.com/getsentry/sentry-python/pull/1994/files#diff-fc8227eef74a7cbb433eba058a93d2344d07736711b866fb4889ff91b9610a18
tox.ini https://github.com/getsentry/sentry-python/pull/1994/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
https://github.com/getsentry/sentry-python/blob/master/.github/CODEOWNERS#L1
.github/workflows/test-integration-loguru.ymlhttps://github.com/getsentry/sentry-python/pull/1994/files#diff-af576ce82a7f00d6911a8e9982f3b3b0f86cd80bfec601fee84e28e72efc453e
View file https://github.com/getsentry/sentry-python/blob/a23d8cb76e20ff10334028abac3b50b0bcc1c7b1/.github/workflows/test-integration-loguru.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/1994/{{ revealButtonHref }}
https://github.com/getsentry/sentry-python/blob/master/.github/CODEOWNERS#L1
linter-requirements.txthttps://github.com/getsentry/sentry-python/pull/1994/files#diff-92d9dfe0aae46762d13d42afbd54729d7acb80ed885c70eee6c5fad0c9e0f4d5
View file https://github.com/getsentry/sentry-python/blob/a23d8cb76e20ff10334028abac3b50b0bcc1c7b1/linter-requirements.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/1994/{{ revealButtonHref }}
https://github.com/getsentry/sentry-python/pull/1994/files#diff-92d9dfe0aae46762d13d42afbd54729d7acb80ed885c70eee6c5fad0c9e0f4d5
https://github.com/getsentry/sentry-python/blob/master/.github/CODEOWNERS#L1
sentry_sdk/integrations/logging.pyhttps://github.com/getsentry/sentry-python/pull/1994/files#diff-082d75c4fb445777f5397b46555e55bc0b47e323c0da52aae8038e5994532726
View file https://github.com/getsentry/sentry-python/blob/a23d8cb76e20ff10334028abac3b50b0bcc1c7b1/sentry_sdk/integrations/logging.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/1994/{{ revealButtonHref }}
https://github.com/getsentry/sentry-python/pull/1994/files#diff-082d75c4fb445777f5397b46555e55bc0b47e323c0da52aae8038e5994532726
https://github.com/getsentry/sentry-python/pull/1994/files#diff-082d75c4fb445777f5397b46555e55bc0b47e323c0da52aae8038e5994532726
https://github.com/getsentry/sentry-python/pull/1994/files#diff-082d75c4fb445777f5397b46555e55bc0b47e323c0da52aae8038e5994532726
https://github.com/getsentry/sentry-python/pull/1994/files#diff-082d75c4fb445777f5397b46555e55bc0b47e323c0da52aae8038e5994532726
https://github.com/getsentry/sentry-python/pull/1994/files#diff-082d75c4fb445777f5397b46555e55bc0b47e323c0da52aae8038e5994532726
https://github.com/getsentry/sentry-python/pull/1994/files#diff-082d75c4fb445777f5397b46555e55bc0b47e323c0da52aae8038e5994532726
https://github.com/getsentry/sentry-python/pull/1994/files#diff-082d75c4fb445777f5397b46555e55bc0b47e323c0da52aae8038e5994532726
https://github.com/getsentry/sentry-python/blob/master/.github/CODEOWNERS#L1
sentry_sdk/integrations/loguru.pyhttps://github.com/getsentry/sentry-python/pull/1994/files#diff-1840fe60c01dca2f8ca2aada868dd6dc9d27d4d157eee23dcf6d87f0acc14131
View file https://github.com/getsentry/sentry-python/blob/a23d8cb76e20ff10334028abac3b50b0bcc1c7b1/sentry_sdk/integrations/loguru.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/1994/{{ revealButtonHref }}
https://github.com/getsentry/sentry-python/blob/master/.github/CODEOWNERS#L1
setup.pyhttps://github.com/getsentry/sentry-python/pull/1994/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
View file https://github.com/getsentry/sentry-python/blob/a23d8cb76e20ff10334028abac3b50b0bcc1c7b1/setup.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/1994/{{ revealButtonHref }}
https://github.com/getsentry/sentry-python/pull/1994/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
https://github.com/getsentry/sentry-python/pull/1994/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
https://github.com/getsentry/sentry-python/blob/master/.github/CODEOWNERS#L1
tests/integrations/loguru/__init__.pyhttps://github.com/getsentry/sentry-python/pull/1994/files#diff-e6be7f7b58ee84a247f7b9972383a8a6d29333a53e8e3f42bdf3ba9fd7909269
View file https://github.com/getsentry/sentry-python/blob/a23d8cb76e20ff10334028abac3b50b0bcc1c7b1/tests/integrations/loguru/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/1994/{{ revealButtonHref }}
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/1994/files
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.