Property | Type | Description | |
---|---|---|---|
CreateTraceData | void | ||
GetSeverityLevel | SeverityLevel |
Method | Description | |
---|---|---|
ApplicationInsightsTraceListener ( ) : System |
Initializes a new instance of the ApplicationInsightsTraceListener class, without specifying a component ID.
|
|
ApplicationInsightsTraceListener ( string instrumentationKey ) : System |
Initializes a new instance of the ApplicationInsightsTraceListener class, and validates the component id passed as the initialize-data. An empty or null Component ID is acceptable because the event source will fall back to the one set in ApplicationInsights.config, however an invalid Component ID will throw an exception.
|
|
TraceData ( |
Writes trace data to the listener specific output.
|
|
TraceData ( |
Writes trace data to the listener specific output.
|
|
TraceEvent ( |
Writes trace information, a message, and event information to the listener specific output.
|
|
TraceEvent ( |
Writes trace information, a message, and event information to the listener specific output.
|
|
Write ( string message ) : void |
Writes the specified message to the listener.
|
|
WriteLine ( string message ) : void |
Writes the specified message to the listener followed by a line terminator.
|
Method | Description | |
---|---|---|
CreateTraceData ( |
||
GetSeverityLevel ( TraceEventType eventType ) : SeverityLevel |
public ApplicationInsightsTraceListener ( ) : System | ||
return | System |
public ApplicationInsightsTraceListener ( string instrumentationKey ) : System | ||
instrumentationKey | string | Instrumentation Key of your application. |
return | System |
public TraceData ( |
||
eventCache | A TraceEventCache object that contains the current process ID, thread ID, and stack trace information. | |
source | string | A name used to identify the output, typically the name of the application that generated the trace event. |
eventType | TraceEventType | One of the TraceEventType values specifying the type of event that has caused the trace. |
id | int | A numeric identifier for the event. |
return | void |
public TraceData ( |
||
eventCache | A TraceEventCache object that contains the current process ID, thread ID, and stack trace information. | |
source | string | A name used to identify the output, typically the name of the application that generated the trace event. |
eventType | TraceEventType | One of the TraceEventType values specifying the type of event that has caused the trace. |
id | int | A numeric identifier for the event. |
data | object | The trace data to emit. |
return | void |
public TraceEvent ( |
||
eventCache | A TraceEventCache object that contains the current process ID, thread ID, and stack trace information. | |
source | string | A name used to identify the output, typically the name of the application that generated the trace event. |
eventType | TraceEventType | One of the TraceEventType values specifying the type of event that has caused the trace. |
id | int | A numeric identifier for the event. |
return | void |
public TraceEvent ( |
||
eventCache | A TraceEventCache object that contains the current process ID, thread ID, and stack trace information. | |
source | string | A name used to identify the output, typically the name of the application that generated the trace event. |
eventType | TraceEventType | One of the TraceEventType values specifying the type of event that has caused the trace. |
id | int | A numeric identifier for the event. |
format | string | A format string that contains zero or more format items, which correspond to objects in the args array. |
return | void |
public Write ( string message ) : void | ||
message | string | A message to write. |
return | void |
public WriteLine ( string message ) : void | ||
message | string | A message to write. |
return | void |