Assembly: log4net (in log4net.dll) Version: 220.127.116.11-.NET 4.0
public override void Format( TextWriter writer, LoggingEvent loggingEvent )
Public Overrides Sub Format ( writer As TextWriter, loggingEvent As LoggingEvent )
public: virtual void Format( TextWriter^ writer, LoggingEvent^ loggingEvent ) override
abstract Format : writer : TextWriter * loggingEvent : LoggingEvent -> unit override Format : writer : TextWriter * loggingEvent : LoggingEvent -> unit
- Type: System.IOTextWriter
The TextWriter to write the formatted event to
- Type: log4net.CoreLoggingEvent
The event being logged.
This method creates an XmlTextWriter that writes to the writer. The XmlTextWriter is passed to the FormatXml(XmlWriter, LoggingEvent) method. Subclasses should override the FormatXml(XmlWriter, LoggingEvent) method rather than this method.