C# Class Rebel.Framework.Diagnostics.AsynchronousRollingFileAppender

Based on code by Chris Haines http://cjbhaines.wordpress.com/2012/02/13/asynchronous-log4net-appenders/
Inheritance: log4net.Appender.RollingFileAppender
Show file Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
ActivateOptions ( ) : void
AsynchronousRollingFileAppender ( ) : System

Protected Methods

Method Description
Append ( log4net.Core.LoggingEvent loggingEvents ) : void
OnClose ( ) : void

Private Methods

Method Description
AppendLoggingEvents ( ) : void
LogAppenderError ( string logMessage, Exception exception ) : void
LogBufferOverflowError ( ) : void
OnBufferOverflow ( object sender, EventArgs eventArgs ) : void
StartAppendTask ( ) : void

Method Details

ActivateOptions() public method

public ActivateOptions ( ) : void
return void

Append() protected method

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

AsynchronousRollingFileAppender() public method

public AsynchronousRollingFileAppender ( ) : System
return System

OnClose() protected method

protected OnClose ( ) : void
return void