Produces a formatted string as specified by the conversion pattern.
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 being logged
Implements
ILayout Format(TextWriter, LoggingEvent)Remarks
Parse the LoggingEvent using the patter format specified in the ConversionPattern property.
See Also