Свойство | Тип | Описание | |
---|---|---|---|
CreateTraceData | void | ||
GetSeverityLevel | SeverityLevel |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
CreateTraceData ( |
||
GetSeverityLevel ( TraceEventType eventType ) : SeverityLevel |
public ApplicationInsightsTraceListener ( ) : System | ||
Результат | System |
public ApplicationInsightsTraceListener ( string instrumentationKey ) : System | ||
instrumentationKey | string | Instrumentation Key of your application. |
Результат | 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. |
Результат | 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. |
Результат | 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. |
Результат | 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. |
Результат | void |
public Write ( string message ) : void | ||
message | string | A message to write. |
Результат | void |
public WriteLine ( string message ) : void | ||
message | string | A message to write. |
Результат | void |