AppenderSkeletonPreAppendCheck Method Apache log4net™ SDK Documentation
Called before [M:Append(LoggingEvent)] as a precondition.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 4.0

protected virtual bool PreAppendCheck()

Return Value

Type: Boolean
true if the call to [M:Append(LoggingEvent)] should proceed.

This method is called by [M:DoAppend(LoggingEvent)] before the call to the abstract [M:Append(LoggingEvent)] method.

This method can be overridden in a subclass to extend the checks made before the event is passed to the [M:Append(LoggingEvent)] method.

A subclass should ensure that they delegate this call to this base class if it is overridden.

See Also