Skip to content

feat(Logs): expose logger and console Integration #4930

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

Merged
merged 2 commits into from
Jun 18, 2025
Merged

Conversation

lucas-zimerman
Copy link
Collaborator

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

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Lets expose logger and the console logger integration so users only require to refer to one package instead of different packages (sentry/react or sentry/browser)

💡 Motivation and Context

Issue fixed #4919

💚 How did you test it?

Locally

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

@lucas-zimerman lucas-zimerman changed the base branch from main to v7 June 17, 2025 15:04
Copy link
Contributor

github-actions bot commented Jun 17, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against df3643e

Copy link
Contributor

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 592.59 ms 604.67 ms 12.07 ms
Size 17.75 MiB 19.58 MiB 1.83 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
f870f2d 444.67 ms 449.62 ms 4.95 ms
3c99746 399.51 ms 429.09 ms 29.58 ms
472960b 418.84 ms 405.38 ms -13.46 ms

App size

Revision Plain With Sentry Diff
f870f2d 17.75 MiB 19.58 MiB 1.83 MiB
3c99746 17.75 MiB 19.58 MiB 1.83 MiB
472960b 17.75 MiB 19.58 MiB 1.83 MiB

Copy link
Contributor

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1206.55 ms 1222.08 ms 15.53 ms
Size 2.63 MiB 3.79 MiB 1.16 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
3c99746+dirty 1215.12 ms 1222.31 ms 7.18 ms
472960b+dirty 1213.96 ms 1222.58 ms 8.62 ms
f870f2d+dirty 1227.18 ms 1232.30 ms 5.12 ms

App size

Revision Plain With Sentry Diff
3c99746+dirty 2.63 MiB 3.78 MiB 1.15 MiB
472960b+dirty 2.63 MiB 3.79 MiB 1.15 MiB
f870f2d+dirty 2.63 MiB 3.79 MiB 1.15 MiB

Copy link
Contributor

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1203.92 ms 1217.56 ms 13.64 ms
Size 3.19 MiB 4.36 MiB 1.17 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
3c99746+dirty 1227.65 ms 1228.81 ms 1.16 ms
472960b+dirty 1243.67 ms 1233.57 ms -10.11 ms
f870f2d+dirty 1230.08 ms 1238.88 ms 8.80 ms

App size

Revision Plain With Sentry Diff
3c99746+dirty 3.19 MiB 4.35 MiB 1.16 MiB
472960b+dirty 3.19 MiB 4.36 MiB 1.17 MiB
f870f2d+dirty 3.19 MiB 4.36 MiB 1.17 MiB

@lucas-zimerman lucas-zimerman marked this pull request as ready for review June 17, 2025 19:35
@lucas-zimerman lucas-zimerman requested a review from antonis as a code owner June 17, 2025 19:55
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 🙇

@antonis antonis merged commit 43765af into v7 Jun 18, 2025
105 of 109 checks passed
@antonis antonis deleted the lz/feat/log-export branch June 18, 2025 10:10
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.

Export logger and loggerConsoleIntegration from @sentry/react-native
2 participants