RequiresLayout Property

log4net SDK Reference |

# AppenderSkeleton.RequiresLayout Property

Tests if this appender requires a Layout to be set.

[Visual Basic]
Overridable Protected ReadOnly Property RequiresLayout As Boolean
[C#]
protected virtual bool RequiresLayout {get;}

#### 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 `true`.

#### See Also

AppenderSkeleton Class | log4net.Appender Namespace