Constructs a PatternLayout using the supplied conversion pattern
Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
Parameters
- pattern
- Type: SystemString
the pattern to use
Remarks
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.
When using this constructor the ActivateOptions method need not be called. This may not be the case when using a subclass.
See Also