C# Class Microsoft.Practices.EnterpriseLibrary.SemanticLogging.ApplicationInsightsSinkExtensions

Exibir arquivo Open project: fidmor89/SLAB_AppInsights

Public Methods

Method Description
CreateListener ( ) : System.Diagnostics.Tracing.EventListener

Creates an event listener that logs using a ApplicationInsightsSink.

CreateListener ( String InstrumentationKey ) : System.Diagnostics.Tracing.EventListener

Creates an event listener that logs using a ApplicationInsightsSink.

CreateListener ( string instrumentationKey ) : System.Diagnostics.Tracing.EventListener

Creates an event listener that logs using an ApplicationInsightsSink.

LogToApplicationInsights ( this eventStream ) : SinkSubscription

Subscribes to an IObservable{EventEntry} using a ApplicationInsightsSink.

LogToApplicationInsights ( this eventStream, String instrumentationKey ) : SinkSubscription

Subscribes to an IObservable{EventEntry} using a ApplicationInsightsSink.

Method Details

CreateListener() public static method

Creates an event listener that logs using a ApplicationInsightsSink.
public static CreateListener ( ) : System.Diagnostics.Tracing.EventListener
return System.Diagnostics.Tracing.EventListener

CreateListener() public static method

Creates an event listener that logs using a ApplicationInsightsSink.
public static CreateListener ( String InstrumentationKey ) : System.Diagnostics.Tracing.EventListener
InstrumentationKey String The ID that determines the application component under which your data appears in Application Insights.
return System.Diagnostics.Tracing.EventListener

CreateListener() public static method

Creates an event listener that logs using an ApplicationInsightsSink.
public static CreateListener ( string instrumentationKey ) : System.Diagnostics.Tracing.EventListener
instrumentationKey string The ID that determines the application component under which your data appears in Application Insights.
return System.Diagnostics.Tracing.EventListener

LogToApplicationInsights() public static method

Subscribes to an IObservable{EventEntry} using a ApplicationInsightsSink.
public static LogToApplicationInsights ( this eventStream ) : SinkSubscription
eventStream this The event stream. Typically this is an instance of .
return SinkSubscription

LogToApplicationInsights() public static method

Subscribes to an IObservable{EventEntry} using a ApplicationInsightsSink.
public static LogToApplicationInsights ( this eventStream, String instrumentationKey ) : SinkSubscription
eventStream this The event stream. Typically this is an instance of .
instrumentationKey String The ID that determines the application component under which your data appears in Application Insights.
return SinkSubscription