PatternLayout Constructor | Apache log4net™ SDK Documentation

Constructs a PatternLayout using the DefaultConversionPattern

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

C#
VB
C++
F#
Copy

    public PatternLayout()

    Public Sub New

    public:
    PatternLayout()

    new : unit -> PatternLayout

Remarks

The default pattern just produces the application supplied message.

Note to Inheritors: This constructor calls the virtual method CreatePatternParser(String). If you override this method be aware that it will be called before your is called constructor.

As per the IOptionHandler contract the ActivateOptions
method must be called after the properties on this object have been configured.

See Also

#### Reference

PatternLayout Class
PatternLayout Overload
log4net.Layout Namespace