Implement this method to create your own layout format.
Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- writer
- Type: System.IOTextWriter
The TextWriter to write the formatted event to - loggingEvent
- Type: log4net.CoreLoggingEvent
The event to format
Implements
ILayoutFormat(TextWriter, LoggingEvent)Remarks
This method is called by an appender to format the loggingEvent as text.
See Also