C# Class log4net.Appender.AzureQueueAppender

Initializes a new instance of the AzureQueueAppender class.
The instance of the AzureQueueAppender class is set up to write to an azure storage queue
Inheritance: log4net.Appender.BufferingAppenderSkeleton
Show file Open project: stemarie/log4net.Azure Class Usage Examples

Public Methods

Method Description
ActivateOptions ( ) : void

Initialize the appender based on the options set

This is part of the T:log4net.Core.IOptionHandler delayed object activation scheme. The M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions method must be called on this object after the configuration properties have been set. Until M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions must be called again.

AzureQueueAppender ( ) : log4net.Appender.Language

Protected Methods

Method Description
SendBuffer ( log4net.Core.LoggingEvent events ) : void

Sends the events.

The subclass must override this method to process the buffered events.

Private Methods

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

Method Details

ActivateOptions() public method

Initialize the appender based on the options set

This is part of the T:log4net.Core.IOptionHandler delayed object activation scheme. The M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions method must be called on this object after the configuration properties have been set. Until M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then M:log4net.Appender.BufferingAppenderSkeleton.ActivateOptions must be called again.

public ActivateOptions ( ) : void
return void

AzureQueueAppender() public method

public AzureQueueAppender ( ) : log4net.Appender.Language
return log4net.Appender.Language

SendBuffer() protected method

Sends the events.

The subclass must override this method to process the buffered events.

protected SendBuffer ( log4net.Core.LoggingEvent events ) : void
events log4net.Core.LoggingEvent The events that need to be send.
return void