AdoNetAppenderParameter Layout Property | Apache log4net™ SDK Documentation

Gets or sets the IRawLayout to use to render the logging event into an object for this parameter.

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

C#
VB
C++
F#
Copy

    public IRawLayout Layout { get; set; }

    Public Property Layout As IRawLayout
    	Get
    	Set

    public:
    property IRawLayout^ Layout {
    	IRawLayout^ get ();
    	void set (IRawLayout^ value);
    }

    member Layout : IRawLayout with get, set

#### Property Value

Type: IRawLayout
The IRawLayout used to render the logging event into an object for this parameter.
Remarks

The IRawLayout that renders the value for this parameter.

The RawLayoutConverter can be used to adapt any ILayout into a IRawLayout for use in the property.

See Also

#### Reference

AdoNetAppenderParameter Class
log4net.Appender Namespace