DynamicPatternLayout Header Property | Apache log4net™ SDK Documentation

The header for the layout format.

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

C#
VB
C++
F#
Copy

    public override string Header { get; set; }

    Public Overrides Property Header As String
    	Get
    	Set

    public:
    virtual property String^ Header {
    	String^ get () override;
    	void set (String^ value) override;
    }

    abstract Header : string with get, set
    override Header : string with get, set

#### Property Value

Type: String
the layout header

#### Implements

ILayout
Header
Remarks

The Header text will be appended before any logging events are formatted and appended.

The pattern will be formatted on each get operation.
See Also

#### Reference

DynamicPatternLayout Class
log4net.Layout Namespace