SimpleLayout Format Method (TextWriter, LoggingEvent)Apache log4net™ SDK Documentation
Produces a simple formatted output.

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public override void Format(
	TextWriter writer,
	LoggingEvent loggingEvent
)

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