Implement this method to create your own layout format.
Assembly: log4net (in log4net.dll) Version: 22.214.171.124-.NET 4.0
public abstract void Format( TextWriter writer, LoggingEvent loggingEvent )
Public MustOverride Sub Format ( writer As TextWriter, loggingEvent As LoggingEvent )
public: virtual void Format( TextWriter^ writer, LoggingEvent^ loggingEvent ) abstract
abstract Format : writer : TextWriter * loggingEvent : LoggingEvent -> unit
- Type: System.IOTextWriter
The TextWriter to write the formatted event to
- Type: log4net.CoreLoggingEvent
The event to format
This method is called by an appender to format the loggingEvent as text.