AppenderSkeleton MethodsApache log4net™ SDK Documentation

The AppenderSkeleton type exposes the following members.

Methods

  NameDescription
Public methodActivateOptions
Initialize the appender based on the options set
Public methodAddFilter
Adds a filter to the end of the filter chain.
Protected methodAppend(LoggingEvent)
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
Protected methodAppend(LoggingEvent)
Append a bulk array of logging events.
Public methodClearFilters
Clears the filter list for this appender.
Public methodClose
Closes the appender and release resources.
Public methodDoAppend(LoggingEvent)
Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific [M:Append(LoggingEvent)] method.
Public methodDoAppend(LoggingEvent)
Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific [M:Append(LoggingEvent[])] method.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFilterEvent
Test if the logging event should we output by this appender
Protected methodFinalize
Finalizes this appender by calling the implementation's Close method.
(Overrides ObjectFinalize.)
Public methodFlush
Flushes any buffered log data.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsAsSevereAsThreshold
Checks if the message level is below this appender's threshold.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnClose
Is called when the appender is closed. Derived classes should override this method if resources need to be released.
Protected methodPreAppendCheck
Called before [M:Append(LoggingEvent)] as a precondition.
Protected methodRenderLoggingEvent(LoggingEvent)
Renders the LoggingEvent to a string.
Protected methodRenderLoggingEvent(TextWriter, LoggingEvent)
Renders the LoggingEvent to a string.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference