log4net SDK Reference

PatternLayoutConverter.IgnoresException Property

Flag indicating if this converter handles the logging event exception

[Visual Basic]
Overridable Public Property IgnoresException As Boolean
[C#]
public virtual bool IgnoresException {get; set;}

Property Value

false if this converter handles the logging event exception

Remarks

If this converter handles the exception object contained within LoggingEvent, then this property should be set to false. Otherwise, if the layout ignores the exception object, then the property should be set to true.

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

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace