log4net SDK Reference |

# PatternLayout Constructor ()

Constructs a PatternLayout using the DefaultConversionPattern

[Visual Basic]
Overloads Public Sub New()
[C#]
public PatternLayout();

#### Remarks

The default pattern just produces the application supplied message.

Note to Inheritors: This constructor calls the virtual method CreatePatternParser. 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

PatternLayout Class | log4net.Layout Namespace | PatternLayout Constructor Overload List