log4net SDK Reference

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

This type is not safe for multithreaded operations.

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