OptionalflushOptional flush function which will give this sender a chance to send any remaining events as its TelemetryLogger is being disposed
Function to send event data without a stacktrace. Used within a TelemetryLogger
The name of the event which you are logging
Optionaldata: 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.