Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

XmlLayoutBase.FormatXml�Method�

Does the actual writing of the XML.

[Visual�Basic]
MustOverride�Protected�Sub�FormatXml( _
���ByVal writer�As�XmlWriter,�_
���ByVal loggingEvent�As�LoggingEvent�_
)
[C#]
protected�abstract�void�FormatXml(
���XmlWriterwriter,
���LoggingEventloggingEvent
);

Parameters

writer
The writer to use to output the event to.
loggingEvent
The event to write.

Remarks

Subclasses should override this method to format the LoggingEvent as XML.

See Also

XmlLayoutBase Class | log4net.Layout Namespace