Skip to content

Support Sentry Logging in the JS Loader and CDN #16314

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
AbhiPrasad opened this issue May 16, 2025 · 1 comment
Open

Support Sentry Logging in the JS Loader and CDN #16314

AbhiPrasad opened this issue May 16, 2025 · 1 comment
Labels
javascript Pull requests that update javascript code Logs

Comments

@AbhiPrasad
Copy link
Member

AbhiPrasad commented May 16, 2025

Description

You can now send structured logs to Sentry! See the docs here.

We don't have logging functionality exposed in the loader or a separate CDN bundle. We should add it.

@AbhiPrasad AbhiPrasad changed the title Support Sentry Logging in the JS Loader Support Sentry Logging in the JS Loader and CDN May 16, 2025
@Lms24
Copy link
Member

Lms24 commented May 27, 2025

We probably also need a shim then for non-logging bundles in case users enable logging first, add manual logger calls and then disable logging via the UI later. (i.e. similar to what we do with BrowserTracing and Replay)

@AbhiPrasad AbhiPrasad added the javascript Pull requests that update javascript code label May 29, 2025 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update javascript code Logs
Projects
None yet
Development

No branches or pull requests

2 participants