Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

MemoryAppender Members

MemoryAppender overview

Public Instance Constructors

MemoryAppender Constructor Initializes a new instance of the MemoryAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix Gets or sets the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventDataObsolete. Gets or sets a value indicating whether only part of the logging event data should be fixed.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions (inherited from AppenderSkeleton) Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
Clear Clear the list of events
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object)
GetEvents Gets the events that have been logged.
GetHashCode (inherited from Object)
GetType (inherited from Object)
ToString (inherited from Object)

Protected Instance Fields

m_eventsList The list of events that have been appended.
m_fixFlags Value indicating which fields in the event should be fixed

Protected Instance Properties

RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

Protected Instance Methods

AppendOverloaded. This method is called by the DoAppend method.
Append (inherited from AppenderSkeleton)Overloaded. Subclasses of AppenderSkeleton should implement this method to perform actual logging.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object)
OnClose (inherited from AppenderSkeleton) Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

MemoryAppender Class | log4net.Appender Namespace