BufferingAppenderSkeleton.cs contains this code:
override protected void OnClose()
{
// Flush the buffer on close
Flush(true);
}
The following classes extend BufferingAppenderSkeleton:
AdoNetAppender
BufferingForwardingAppender
RemotingAppender
SmtpAppender
SmtpPickupDirAppender
--- "Wanner, Nick" <[EMAIL PROTECTED]> wrote:
> If you have an appender buffering log events, is there a method to
> flush
> all the buffers and send the log events.
> One example of when I want to use this is when my application closes.
> I
> want to make sure all my log messages are output before I exit.
>
> thanks,
> Nick
>