C# 클래스 Microsoft.ApplicationInsights.NLogTarget.ApplicationInsightsTarget

상속: TargetWithLayout
파일 보기 프로젝트 열기: Microsoft/ApplicationInsights-dotnet-logging 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BuildPropertyBag void
GetSeverityLevel SeverityLevel?
SendException void
SendTrace void

공개 메소드들

메소드 설명
ApplicationInsightsTarget ( ) : System

Initializers a new instance of ApplicationInsightsTarget type.

보호된 메소드들

메소드 설명
InitializeTarget ( ) : void

Initializes the Target and perform instrumentationKey validation.

Write ( LogEventInfo logEvent ) : void

Send the log message to Application Insights.

비공개 메소드들

메소드 설명
BuildPropertyBag ( LogEventInfo logEvent, ITelemetry trace ) : void
GetSeverityLevel ( NLog.LogLevel logEventLevel ) : SeverityLevel?
SendException ( LogEventInfo logEvent ) : void
SendTrace ( LogEventInfo logEvent ) : void

메소드 상세

ApplicationInsightsTarget() 공개 메소드

Initializers a new instance of ApplicationInsightsTarget type.
public ApplicationInsightsTarget ( ) : System
리턴 System

InitializeTarget() 보호된 메소드

Initializes the Target and perform instrumentationKey validation.
Will throw when is not set.
protected InitializeTarget ( ) : void
리턴 void

Write() 보호된 메소드

Send the log message to Application Insights.
If is null.
protected Write ( LogEventInfo logEvent ) : void
logEvent NLog.LogEventInfo
리턴 void