log4net SDK Reference

MemoryAppender Methods

The methods of the MemoryAppender class are listed below. For a complete list of MemoryAppender class members, see the MemoryAppender Members topic.

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) Determines whether the specified Object is equal to the current Object.
GetEvents Gets the events that have been logged.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
AppendOverloaded. This method is called by the DoAppend method.
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) Creates a shallow copy of the current 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