Optional
flushOptional flush function which will give this sender a chance to send any remaining events as its TelemetryLogger is being disposed
Function to send an error. Used within a TelemetryLogger
The error being logged
Optional
data: Record<string, any>Any additional data to be collected with the exception
Function to send event data without a stacktrace. Used within a TelemetryLogger
The name of the event which you are logging
Optional
data: Record<string, any>A serializable key value pair that is being logged
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.