C# Class log4net.Azure.AzureAppender

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

Public Methods

Method 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.

Protected Methods

Method Description
Append ( log4net.Core.LoggingEvent loggingEvent ) : void

Private Methods

Method 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 method

public ActivateOptions ( ) : void
return void

Append() protected method

protected Append ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent
return void

AzureAppender() public method

public AzureAppender ( ) : System
return System

AzureAppenderConfigurator() public method

public AzureAppenderConfigurator ( Action appender ) : void
appender Action
return void

AzureAppenderConfigurator() public method

public AzureAppenderConfigurator ( Action diagnosticsConfigurator ) : void
diagnosticsConfigurator Action
return void

AzureAppenderConfigurator() public method

public AzureAppenderConfigurator ( Level>.Action repositoryConfigurator ) : void
repositoryConfigurator Level>.Action
return void

New() public static method

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
return AzureAppender