Produces a simple formatted output.
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
Formats the event as the level of the even, followed by " - " and then the log message itself. The output is terminated by a newline.
See Also