C# Class Microsoft.ApplicationInsights.Log4NetAppender.ApplicationInsightsAppender

Inheritance: log4net.Appender.AppenderSkeleton
Afficher le fichier Open project: Microsoft/ApplicationInsights-dotnet-logging Class Usage Examples

Private Properties

Свойство Type Description
AddLoggingEventProperty void
BuildCustomProperties void
GetSeverityLevel SeverityLevel?
SendException void
SendTrace void

Méthodes publiques

Méthode Description
ActivateOptions ( ) : void

Initializes the Appender and perform instrumentationKey validation.

Méthodes protégées

Méthode Description
Append ( log4net.Core.LoggingEvent loggingEvent ) : void

Append LoggingEvent Application Insights logging framework.

Private Methods

Méthode Description
AddLoggingEventProperty ( string key, string value, string>.IDictionary metaData ) : void
BuildCustomProperties ( log4net.Core.LoggingEvent loggingEvent, ITelemetry trace ) : void
GetSeverityLevel ( log4net.Core.Level logginEventLevel ) : SeverityLevel?
SendException ( log4net.Core.LoggingEvent loggingEvent ) : void
SendTrace ( log4net.Core.LoggingEvent loggingEvent ) : void

Method Details

ActivateOptions() public méthode

Initializes the Appender and perform instrumentationKey validation.
public ActivateOptions ( ) : void
Résultat void

Append() protected méthode

Append LoggingEvent Application Insights logging framework.
protected Append ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent Events to be logged.
Résultat void