log4net SDK Reference

MemoryAppender Class

Stores logging events in an array.

For a list of all members of this type, see MemoryAppender Members.

System.Object
   log4net.Appender.AppenderSkeleton
      log4net.Appender.MemoryAppender

[Visual Basic]
Public Class MemoryAppender
    Inherits AppenderSkeleton
[C#]
public class MemoryAppender : AppenderSkeleton

Thread Safety

This type is not safe for multithreaded operations.

Remarks

The memory appender stores all the logging events that are appended in an in-memory array.

Use the GetEvents method to get the current list of events that have been appended.

Use the Clear method to clear the current list of events.

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

MemoryAppender Members | log4net.Appender Namespace