This pull request introduces a new feature that allows users to enable or disable telemetry at runtime.
PR Summary
This PR adds the ability to opt-out of telemetry through the UI and at runtime, enhancing user control over data privacy.
Updated AppInsightsRemoteLogger.cs, ExceptionlessRemoteLogger.cs, RemoteLogger.cs, OutputWindowRemoteLogger.cs, and VsPackage.cs to include an Enable method and checks for telemetry configuration.
Added Enable method to IRemoteLogger.cs interface and created ITelemetryOptions interface for global telemetry opt-out.
Updated AnalyticsOptionPage.cs to implement ITelemetryOptions and added a telemetry opt-out checkbox in AnalyticsOptionsPageCustom.cs and AnalyticsOptionsPageCustom.Designer.cs.
Updated VsPackage.cs to disable the logger if telemetry is opted out.
PR Classification
This pull request introduces a new feature that allows users to enable or disable telemetry at runtime.
PR Summary
This PR adds the ability to opt-out of telemetry through the UI and at runtime, enhancing user control over data privacy.
AppInsightsRemoteLogger.cs
,ExceptionlessRemoteLogger.cs
,RemoteLogger.cs
,OutputWindowRemoteLogger.cs
, andVsPackage.cs
to include anEnable
method and checks for telemetry configuration.Enable
method toIRemoteLogger.cs
interface and createdITelemetryOptions
interface for global telemetry opt-out.AnalyticsOptionPage.cs
to implementITelemetryOptions
and added a telemetry opt-out checkbox inAnalyticsOptionsPageCustom.cs
andAnalyticsOptionsPageCustom.Designer.cs
.VsPackage.cs
to disable the logger if telemetry is opted out.Screenshot