Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

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