DefaultTelemetryTrace

The singleton ITrace implementation created and registered by UseDefaultTelemetry().

A singleton subclass of TelemetryTrace used by RepoDb.Telemetry.Default. It is created and started internally by DefaultTelemetryGlobalConfiguration.UseDefaultTelemetry() — there is no need to instantiate it directly.

Properties

Name Description
Instance Gets the singleton instance. Throws InvalidOperationException if accessed before UseDefaultTelemetry() has been called.

Calling UseDefaultTelemetry() more than once is safe — it reuses the same singleton instance rather than starting a new one.