Skip to content

feat(core)!: Remove logger and type Logger #17073

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

Closed
wants to merge 1 commit into from

Conversation

andreiborza
Copy link
Member

logger and type Logger were deprecated in v9, use debug and type SentryDebugLogger instead.

`logger` and type `Logger` were deprecated in v9, use `debug` and type
`SentryDebugLogger` instead.
/** @deprecated Logger is no longer set. Instead, we keep enabled state in loggerSettings. */
// eslint-disable-next-line deprecation/deprecation
logger?: Logger;
logger?: SentryDebugLogger;
Copy link
Member Author

Choose a reason for hiding this comment

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

@AbhiPrasad I opened my PR mostly because I keep the logger here. You removed this on your branch. What's expected?

@andreiborza andreiborza added this to the 10.0.0 milestone Jul 17, 2025
@andreiborza
Copy link
Member Author

After discussion, logger on carrier is replaced by loggerSettings. Will close in favor of #17061

Copy link
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.75 kB added added
@sentry/browser - with treeshaking flags 22.34 kB added added
@sentry/browser (incl. Tracing) 39.62 kB added added
@sentry/browser (incl. Tracing, Replay) 77.79 kB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.59 kB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 82.49 kB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 94.59 kB added added
@sentry/browser (incl. Feedback) 40.45 kB added added
@sentry/browser (incl. sendFeedback) 28.43 kB added added
@sentry/browser (incl. FeedbackAsync) 33.34 kB added added
@sentry/react 25.5 kB added added
@sentry/react (incl. Tracing) 41.59 kB added added
@sentry/vue 28.18 kB added added
@sentry/vue (incl. Tracing) 41.41 kB added added
@sentry/svelte 23.78 kB added added
CDN Bundle 25.18 kB added added
CDN Bundle (incl. Tracing) 39.42 kB added added
CDN Bundle (incl. Tracing, Replay) 75.41 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 80.89 kB added added
CDN Bundle - uncompressed 73.44 kB added added
CDN Bundle (incl. Tracing) - uncompressed 116.86 kB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 231 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 243.81 kB added added
@sentry/nextjs (client) 43.62 kB added added
@sentry/sveltekit (client) 40.04 kB added added
@sentry/node-core 47.24 kB added added
@sentry/node 143.81 kB added added
@sentry/node - without tracing 91.31 kB added added
@sentry/aws-serverless 102.75 kB added added

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.

1 participant