Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

PatternConverter.Format�Method�

Write the pattern converter to the writer with appropriate formatting

[Visual�Basic]
Overridable�Public�Sub�Format( _
���ByVal writer�As�TextWriter,�_
���ByVal state�As�Object�_
)
[C#]
public�virtual�void�Format(
���TextWriterwriter,
���objectstate
);

Parameters

writer
TextWriter that will receive the formatted result.
state
The state object on which the pattern converter should be executed.

Remarks

This method calls Convert to allow the subclass to perform appropriate conversion of the pattern converter. If formatting options have been specified via the FormattingInfo then this method will apply those formattings before writing the output.

See Also

PatternConverter Class | log4net.Util Namespace