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: 2.0.8.0-.NET 4.0
Syntax

protected virtual bool RequiresLayout { get; }

Return Value

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

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

Reference