LayoutSkeletonIgnoresException Property Apache log4net™ SDK Documentation
Flag indicating if this layout handles exceptions

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public virtual bool IgnoresException { get; set; }

Property Value

Type: Boolean
false if this layout handles exceptions

Implements

ILayoutIgnoresException
Remarks

If this layout handles the exception object contained within LoggingEvent, then the layout should return false. Otherwise, if the layout ignores the exception object, then the layout should return true.

Set this value to override a this default setting. The default value is true, this layout does not handle the exception.

See Also

Reference