XmlLayoutFormatXml Method Apache log4net™ SDK Documentation
Does the actual writing of the XML.

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

protected override void FormatXml(
	XmlWriter writer,
	LoggingEvent loggingEvent
)

Parameters

writer
Type: System.XmlXmlWriter
The writer to use to output the event to.
loggingEvent
Type: log4net.CoreLoggingEvent
The event to write.
Remarks

Override the base class FormatXml(XmlWriter, LoggingEvent) method to write the LoggingEvent to the XmlWriter.

See Also

Reference