Actually do the writing of the xml
Namespace: log4net.LayoutAssembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
protected override void FormatXml(
XmlWriter writer,
LoggingEvent loggingEvent
)
Protected Overrides Sub FormatXml (
writer As XmlWriter,
loggingEvent As LoggingEvent
)
protected:
virtual void FormatXml(
XmlWriter^ writer,
LoggingEvent^ loggingEvent
) override
abstract FormatXml :
writer : XmlWriter *
loggingEvent : LoggingEvent -> unit
override FormatXml :
writer : XmlWriter *
loggingEvent : LoggingEvent -> unit
Parameters
- writer
- Type: System.XmlXmlWriter
the writer to use - loggingEvent
- Type: log4net.CoreLoggingEvent
the event to write
Generate XML that is compatible with the log4j schema.
Reference