log4net SDK Reference

ILayout.IgnoresException Property

[This is preliminary documentation and subject to change.]

Flag indicating if this layout handle exceptions

[Visual Basic]
Property IgnoresException As Boolean
[C#]
bool IgnoresException {get;}

Property Value

false if this layout handles exceptions

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.

See Also

ILayout Interface | log4net.Layout Namespace