PatternConverterFormat Method Apache log4net™ SDK Documentation
Write the pattern converter to the writer with appropriate formatting

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public virtual void Format(
	TextWriter writer,
	Object state
)

Parameters

writer
Type: System.IOTextWriter
TextWriter that will receive the formatted result.
state
Type: SystemObject
The state object on which the pattern converter should be executed.
Remarks

This method calls Convert(TextWriter, Object) 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

Reference