An evaluator that triggers on an Exception type
Inheritance Hierarchy
log4net.CoreExceptionEvaluator
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The ExceptionEvaluator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ExceptionEvaluator |
Default ctor to allow dynamic creation through a configurator.
|
![]() | ExceptionEvaluator(Type, Boolean) |
Constructs an evaluator and initializes to trigger on exType |
Properties
Name | Description | |
---|---|---|
![]() | ExceptionType |
The type that triggers this evaluator.
|
![]() | TriggerOnSubclass |
If true, this evaluator will trigger on subclasses of ExceptionType.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | IsTriggeringEvent |
Is this loggingEvent the triggering event?
|
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Remarks
This evaluator will trigger if the type of the Exception passed to [M:IsTriggeringEvent(LoggingEvent)] is equal to a Type in ExceptionType. ///
See Also