Constructs a PatternLayout using the supplied conversion pattern
Namespace: log4net.LayoutAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- pattern
- Type: System String
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