|
Log4j 1.3alpha-5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.rule.AbstractRule | +--org.apache.log4j.rule.AndRule
A Rule class implementing a logical 'and'.
Method Summary | |
boolean |
evaluate(LoggingEvent event)
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not. |
static Rule |
getRule(Rule firstParam,
Rule secondParam)
|
static Rule |
getRule(java.util.Stack stack)
|
Methods inherited from class org.apache.log4j.rule.AbstractRule |
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Rule getRule(java.util.Stack stack)
public static Rule getRule(Rule firstParam, Rule secondParam)
public boolean evaluate(LoggingEvent event)
Rule
What True/False means can be client-specific.
event
- LoggingEvent this instance will evaluate
|
Log4j 1.3alpha-5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |