public class DefaultEvaluator implements TriggeringEventEvaluator(Code)
DefaultEvaluator implements the single method
TriggeringEventEvaluator interface. This class
allows IMAppender to decide when to perform the
IM message delivery.
author: Rafael Luque & Ruth Zamorano version: $Revision: 1.2 $
Method Summary
public boolean
isTriggeringEvent(LoggingEvent event) Is this event the e-mail triggering event?
This method returns true if the event level
has ERROR level or higher.
Method Detail
isTriggeringEvent
public boolean isTriggeringEvent(LoggingEvent event)(Code)
Is this event the e-mail triggering event?
This method returns true if the event level
has ERROR level or higher. Otherwise it returns
false.