Share via


TelemetryDebugWriter.WriteTelemetry(ITelemetry, String) Method

Definition

Write the specified ITelemetry item to debug output.

public static void WriteTelemetry (Microsoft.ApplicationInsights.Channel.ITelemetry telemetry, string filteredBy = default);
static member WriteTelemetry : Microsoft.ApplicationInsights.Channel.ITelemetry * string -> unit
Public Shared Sub WriteTelemetry (telemetry As ITelemetry, Optional filteredBy As String = Nothing)

Parameters

telemetry
ITelemetry

Item to write.

filteredBy
String

If specified, indicates the telemetry item was filtered out and not sent to the API.

Applies to