PatternLayout Constructor Apache log4net™ SDK Documentation
Constructs a PatternLayout using the DefaultConversionPattern

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 4.0

public PatternLayout()

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