Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

PatternLayout�Constructor�(String)

Constructs a PatternLayout using the supplied conversion pattern

[Visual�Basic]
Overloads�Public�Sub�New( _
���ByVal pattern�As�String�_
)
[C#]
public�PatternLayout(
���stringpattern
);

Parameters

pattern
the pattern to use

Remarks

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.

When using this constructor the ActivateOptions method need not be called. This may not be the case when using a subclass.

See Also

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