BufferingAppenderSkeleton Evaluator Property | Apache log4net™ SDK Documentation

Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.

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

C#
VB
C++
F#
Copy

    public ITriggeringEventEvaluator Evaluator { get; set; }

    Public Property Evaluator As ITriggeringEventEvaluator
    	Get
    	Set

    public:
    property ITriggeringEventEvaluator^ Evaluator {
    	ITriggeringEventEvaluator^ get ();
    	void set (ITriggeringEventEvaluator^ value);
    }

    member Evaluator : ITriggeringEventEvaluator with get, set

#### Property Value

Type: ITriggeringEventEvaluator
The ITriggeringEventEvaluator that causes the buffer to be sent immediately.
Remarks

The evaluator will be called for each event that is appended to this appender. If the evaluator triggers then the current buffer will immediately be sent (see [M:SendBuffer(LoggingEvent[])]).

If Lossy is set to true then an Evaluator must be specified.

See Also

#### Reference

BufferingAppenderSkeleton Class
log4net.Appender Namespace