ColoredConsoleAppender RequiresLayout Property | Apache log4net™ SDK Documentation

This appender requires a log4net.Layout to be set.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    protected override bool RequiresLayout { get; }

    Protected Overrides ReadOnly Property RequiresLayout As Boolean
    	Get

    protected:
    virtual property bool RequiresLayout {
    	bool get () override;
    }

    abstract RequiresLayout : bool with get
    override RequiresLayout : bool with get

#### Property Value

Type: Boolean
true
Remarks

This appender requires a log4net.Layout to be set.

See Also

#### Reference

ColoredConsoleAppender Class
log4net.Appender Namespace