Gets the exception text from the logging event
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
Write the exception string to the TextWriter. The exception string is retrieved from [M:LoggingEvent.GetExceptionString()].
See Also