C# Class log4net.Appender.AzureBlobAppender

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.

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
Filename ( log4net.Core.LoggingEvent loggingEvent, string directoryName ) : string
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

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