You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ILoggerFactory.AddSentry() sends no structured logs #5908
ILoggerFactory.AddSentry() adds only the events provider, SentryLoggerProvider (src/Sentry.Extensions.Logging/SentryLoggerFactoryExtensions.cs). ILoggingBuilder.AddSentry() adds that and SentryStructuredLoggerProvider.
In 7.0.0, an app that calls SentrySdk.Init and ILoggingBuilder.AddSentry() sends every ILogger entry as a structured log, with no logs-specific option (#5642). An app that calls SentrySdk.Init and the ILoggerFactory overload instead gets events and breadcrumbs, but no logs, and nothing tells it so. That includes new LoggerFactory().AddSentry(...), the form the 6.x Microsoft.Extensions.Logging guide showed. 6.x behaves the same, but there logs also needed EnableLogs, so it was less visible.
Activity
linear-code commentedon Nov 10, 2026
NET-920
feat(mel)!: remove ILoggerFactory.AddSentry() (#5921)