log4net SDK Documentation - Microsoft .NET Framework 4.0

ExceptionLayout Class

A Layout that renders only the Exception text from the logging event

For a list of all members of this type, see ExceptionLayout Members.

System.Object
   log4net.Layout.LayoutSkeleton
      log4net.Layout.ExceptionLayout

[Visual Basic]
Public Class ExceptionLayout
    Inherits LayoutSkeleton
[C#]
public class ExceptionLayout : LayoutSkeleton

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

A Layout that renders only the Exception text from the logging event.

This Layout should only be used with appenders that utilize multiple layouts (e.g. AdoNetAppender).

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

ExceptionLayout Members | log4net.Layout Namespace