Skip to content

Enable logging by default [.NET] #5183

@dingsdax

Description

@dingsdax

Update logs behavior to follow the same opt-in model as enableMetrics:

  • Users are considered opted-in when:
    • They call the equivalent of Sentry.logger.*, or
    • They explicitly enable a logging integration.
  • Change default: set enable logs to true.
  • Audit all logging integrations to ensure:
    • No logs are emitted unless the integration is explicitly enabled.
  • Update documentation:
    • Explain new default behavior of enableLogs.
    • Clarify requirement to explicitly enable logging integrations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeLogsTaskbreaking changevNextBinary/Source/Behavioral Breaking Changes scheduled for the next Major release.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions