AppenderSkeletonDoAppend Method (LoggingEvent)Apache log4net™ SDK Documentation
Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific [M:Append(LoggingEvent[])] method.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public void DoAppend(
	LoggingEvent[] loggingEvents
)

Parameters

loggingEvents
Type: log4net.CoreLoggingEvent
The array of events to log.

Implements

IBulkAppenderDoAppend(LoggingEvent)
Remarks

This method cannot be overridden by derived classes. A derived class should override the [M:Append(LoggingEvent[])] method which is called by this method.

The implementation of this method is as follows:

  • Checks that the severity of the loggingEvents is greater than or equal to the Threshold of this appender.
  • Checks that the IFilter chain accepts the loggingEvents.
  • Calls [M:PreAppendCheck()] and checks that it returns true.

If all of the above steps succeed then the loggingEvents will be passed to the [M:Append(LoggingEvent[])] method.

See Also

Reference