Implement this method to create your own layout format.
Namespace: log4net.LayoutAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- writer
- Type: System.IO TextWriter
The TextWriter to write the formatted event to
- loggingEvent
- Type: log4net.Core LoggingEvent
The event to format
Implements
ILayout Format(TextWriter, LoggingEvent)Remarks
This method is called by an appender to format the loggingEvent as text.
See Also