C# Class log4net.Azure.AzureAppender

Appender that writes to the trace.
Inheritance: log4net.Appender.AppenderSkeleton, AzureAppenderConfigurator
Afficher le fichier Open project: haf/log4net.Azure Class Usage Examples

Méthodes publiques

Méthode Description
ActivateOptions ( ) : void
AzureAppender ( ) : System
AzureAppenderConfigurator ( Action appender ) : void
AzureAppenderConfigurator ( Action diagnosticsConfigurator ) : void
AzureAppenderConfigurator ( Level>.Action repositoryConfigurator ) : void
New ( Action configurator ) : AzureAppender

Creates a new AzureAppender and activates its options, allowing you to pass a configurator, to configure the appender, before activation.

Méthodes protégées

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

Private Methods

Méthode Description
ConfigureAzureDiagnostics ( ) : DiagnosticMonitorConfiguration
ConfigureThreshold ( ) : void
ConfigureWindowsEventLogsToBeTransferred ( DiagnosticMonitorConfiguration dmc, string eventLogs ) : void
GetEventLogs ( ) : string
GetLayout ( ) : ILayout
GetLevel ( string level ) : log4net.Core.Level
GetLevel ( ) : string
GetRoleInstanceDiagnosticManager ( ) : RoleInstanceDiagnosticManager
GetScheduledTransferPeriod ( ) : int
ScheduleTransfer ( DiagnosticMonitorConfiguration dmc, int transferPeriodMs ) : void
StartAzureDiagnostics ( DiagnosticMonitorConfiguration dmc ) : void

Starts azure diagnostics

Method Details

ActivateOptions() public méthode

public ActivateOptions ( ) : void
Résultat void

Append() protected méthode

protected Append ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent
Résultat void

AzureAppender() public méthode

public AzureAppender ( ) : System
Résultat System

AzureAppenderConfigurator() public méthode

public AzureAppenderConfigurator ( Action appender ) : void
appender Action
Résultat void

AzureAppenderConfigurator() public méthode

public AzureAppenderConfigurator ( Action diagnosticsConfigurator ) : void
diagnosticsConfigurator Action
Résultat void

AzureAppenderConfigurator() public méthode

public AzureAppenderConfigurator ( Level>.Action repositoryConfigurator ) : void
repositoryConfigurator Level>.Action
Résultat void

New() public static méthode

Creates a new AzureAppender and activates its options, allowing you to pass a configurator, to configure the appender, before activation.
public static New ( Action configurator ) : AzureAppender
configurator Action
Résultat AzureAppender