org.wso2.carbon.utils.logging
Class DefaultEvaluator
java.lang.Object
org.wso2.carbon.utils.logging.DefaultEvaluator
- All Implemented Interfaces:
- org.apache.log4j.spi.TriggeringEventEvaluator
public class DefaultEvaluator
- extends Object
- implements org.apache.log4j.spi.TriggeringEventEvaluator
DefaultEvaluator implements the single method
TriggeringEventEvaluator interface. This class
allows IMAppender to decide when to perform the
IM message delivery.
- Version:
- $Revision: 1.2 $
- Author:
- Rafael Luque & Ruth Zamorano
|
Method Summary |
boolean |
isTriggeringEvent(org.apache.log4j.spi.LoggingEvent event)
Is this event the e-mail triggering event?
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEvaluator
public DefaultEvaluator()
isTriggeringEvent
public boolean isTriggeringEvent(org.apache.log4j.spi.LoggingEvent event)
- 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.
- Specified by:
isTriggeringEvent in interface org.apache.log4j.spi.TriggeringEventEvaluator
Copyright © 2014 WSO2 Inc. All rights reserved.