log4net SDK Reference

AppenderSkeleton Members

AppenderSkeleton overview

Public Instance Properties

ErrorHandler Gets or sets the IErrorHandler for this appender.
FilterHead The filter chain.
Layout Gets or sets the ILayout for this appender.
Name Gets or sets the name of this appender.
Threshold Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter Adds a filter to the end of the filter chain.
ClearFilters Clears the filter list for this appender.
Close Closes the appender and release resources.
DoAppendOverloaded. 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.
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 Constructors

AppenderSkeleton Constructor Default constructor

Protected Instance Properties

RequiresLayout Tests if this appender requires a Layout to be set.

Protected Instance Methods

AppendOverloaded. Append a bulk array of logging events.
FilterEvent Test if the logging event should we output by this appender
Finalize Finalizes this appender by calling the implementation's Close method.
IsAsSevereAsThreshold Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Is called when the appender is closed. Derived classes should override this method if resources need to be released.
PreAppendCheck Called before Append as a precondition.
RenderLoggingEventOverloaded. Renders the LoggingEvent to a string.

See Also

AppenderSkeleton Class | log4net.Appender Namespace