Function to send event data without a stacktrace. Used within a TelemetryLogger
The name of the event which you are logging
A serializable key value pair that is being logged
Function to send an error. Used within a TelemetryLogger
The error being logged
Any additional data to be collected with the exception
Optional flush function which will give this sender a chance to send any remaining events as its TelemetryLogger is being disposed
The telemetry sender is the contract between a telemetry logger and some telemetry service. Note that extensions must NOT call the methods of their sender directly as the logger provides extra guards and cleaning.