Produces a simple formatted output.
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 being logged
Implements
ILayoutFormat(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