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

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

protected virtual bool RequiresLayout { get; }

Return Value

Type: OnlineBoolean
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