ExceptionLayout Format Method (TextWriter, LoggingEvent)Apache log4net™ SDK Documentation
Gets the exception text from the logging event

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

Write the exception string to the OnlineTextWriter. The exception string is retrieved from [M:LoggingEvent.GetExceptionString()].

See Also