DiagnosticSource
An abstract class that allows code to be instrumented for production-time logging of rich data payloads for consumption within the process that was instrumented.
protected DiagnosticSource()
Initializes an instance of the DiagnosticSource class.
Verifies if the notification event is enabled.
Verifies it the notification event is enabled.
Transfers state from an activity to some event or operation, such as an outgoing HTTP request, that will occur outside the process.
Transfers state to an activity from some event or operation, such as an incoming request, that occurred outside the process.
Starts an Activity and writes a start event.
Stops the given Activity, maintains the global Current activity, and notifies consumers that the Activity was stopped.
Provides a generic way of logging complex payloads.