XmlLayoutBaseFormatXml 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 abstract 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

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

See Also

Reference