NullAppender:IAppender is about 20% faster than
NullAppender:AppenderSkeleton on my system when calling log.Debug
several million times inside a tight loop:
public class NullAppender : IAppender
{
public void Close()
{
/* empty */
}
public void DoAppend(LoggingEvent loggingEvent)
{
/* em
The AppenderSkeleton uses a lock to ensure that the calls to the
subclass' Append method are serialised. This makes the job of writing a
custom appender much easier as you don't have to deal with threading.
The FastDbAppender does not use a lock to serialise the calls to the
Append method, or to t