AppenderSkeletonRequiresLayout Property Apache log4net™ SDK Documentation
Tests if this appender requires a Layout to be set.

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

protected virtual bool RequiresLayout { get; }

Return Value

Type: Boolean
true if the appender requires a layout object, otherwise false.

In the rather exceptional case, where the appender implementation admits a layout but can also work without it, then the appender should return true.

This default implementation always returns false.

See Also