Skip to content

feat(React Native): Add Logs documentation #13934

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

lucas-zimerman
Copy link
Collaborator

@lucas-zimerman lucas-zimerman commented Jun 5, 2025

BEFORE MERGE

Check if version 7.0.0-beta.1 was released.

DESCRIBE YOUR PR

Tell us what you're changing and why. If your PR resolves an issue, please link it so it closes automatically.

With the next beta version that wasn't released, we will introduce logging support for React Native.
This PR adds all the changes and how to use logging on React Native.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

EXTRA RESOURCES

Copy link

vercel bot commented Jun 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2025 4:25pm
sentry-docs ❌ Failed (Inspect) Jun 12, 2025 4:25pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview Jun 12, 2025 4:25pm

Copy link

codecov bot commented Jun 5, 2025

Bundle Report

Changes will increase total bundle size by 317.42kB (1.51%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 11.22MB 306.5kB (2.81%) ⬆️
sentry-docs-edge-server-array-push 379.18kB 7.81kB (2.1%) ⬆️
sentry-docs-client-array-push 9.77MB 3.11kB (0.03%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -4.55kB 868.7kB -0.52%
static/chunks/8165-*.js (New) 410.1kB 410.1kB 100.0% 🚀
server/app/api/ip-*.js -1 bytes 258.48kB -0.0%
server/app/_not-*.js -1 bytes 258.48kB -0.0%
server/app/[[...path]]/page_client-*.js -1 bytes 258.44kB -0.0%
server/app/platform-*.js -1 bytes 243.98kB -0.0%
static/chunks/1754-*.js (New) 120.27kB 120.27kB 100.0% 🚀
static/chunks/main-*.js 1 bytes 1.67kB 0.06%
static/chunks/e27a9f8b-*.js (New) 116.55kB 116.55kB 100.0% 🚀
static/chunks/app/[[...path]]/page-*.js -584 bytes 79.91kB -0.73%
static/chunks/404-*.js -1 bytes 43.6kB -0.0%
static/chunks/app/platform-*.js -1 bytes 13.1kB -0.01%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
server/middleware-*.js -5.55kB 1.0kB -84.74%
static/chunks/pages/_error-*.js -3 bytes 2.64kB -0.11%
static/9Udbay7zwTTQAF91HV45M/_buildManifest.js (New) 616 bytes 616 bytes 100.0% 🚀
static/9Udbay7zwTTQAF91HV45M/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/chunks/7750-*.js (Deleted) -401.83kB 0 bytes -100.0% 🗑️
static/chunks/4926-*.js (Deleted) -120.27kB 0 bytes -100.0% 🗑️
static/chunks/52774a7f-*.js (Deleted) -116.56kB 0 bytes -100.0% 🗑️
static/8V-*.js (Deleted) -616 bytes 0 bytes -100.0% 🗑️
static/8V-*.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js 103.22kB 1.75MB 6.28% ⚠️
../instrumentation.js 103.24kB 1.08MB 10.61% ⚠️
9523.js 103.19kB 1.05MB 10.87% ⚠️
../app/[[...path]]/page.js -1.36kB 586.13kB -0.23%
8049.js 3 bytes 520.29kB 0.0%
../app/[[...path]]/page.js.nft.json -595 bytes 399.24kB -0.15%
../app/platform-redirect/page.js.nft.json -595 bytes 399.16kB -0.15%
../app/sitemap.xml/route.js.nft.json -595 bytes 397.13kB -0.15%
3913.js (New) 191.76kB 191.76kB 100.0% 🚀
9273.js 1 bytes 83.11kB 0.0%
1419.js 1 bytes 57.65kB 0.0%
5103.js 1 bytes 37.06kB 0.0%
5207.js 1 bytes 32.21kB 0.0%
../app/platform-redirect/page.js 1 bytes 31.36kB 0.0%
7269.js -4 bytes 29.86kB -0.01%
2638.js 1 bytes 26.24kB 0.0%
8327.js 2 bytes 11.9kB 0.02%
8440.js 2 bytes 11.84kB 0.02%
../app/api/ip-ranges/route.js -8 bytes 6.09kB -0.13%
../pages/_error.js 8 bytes 4.29kB 0.19%
4846.js 1 bytes 1.16kB 0.09%
5225.js 1 bytes 1.16kB 0.09%
678.js 1 bytes 1.15kB 0.09%
4217.js (Deleted) -191.77kB 0 bytes -100.0% 🗑️

App Routes Affected:

App Route Size Change Total Size Change (%)
/platform-redirect 15 bytes 2.58MB 0.0%
/ 10 bytes 2.61MB 0.0%
/[[...path]] -1.34kB 3.13MB -0.04%
view changes for bundle: sentry-docs-edge-server-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
src/middleware.js -458 bytes 206.91kB -0.22%
edge-instrumentation.js 8.27kB 162.83kB 5.35% ⚠️

Copy link
Collaborator

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and aligned with the logs documentation in other platforms 🚀

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lucas-zimerman
Copy link
Collaborator Author

Thank you, @AbhiPrasad, for pointing out, I wasn't aware of this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants