public class RuleMediator
extends org.apache.log4j.rule.AbstractRule
Setting the individual sub-rules propagates a PropertyChangeEvent as per standard Java beans principles.
Constructor and Description |
---|
RuleMediator(boolean findRuleRequired) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(org.apache.log4j.spi.LoggingEvent e,
Map matches) |
boolean |
isFindRuleRequired() |
void |
setFilterRule(org.apache.log4j.rule.Rule r) |
void |
setFindRule(org.apache.log4j.rule.Rule r) |
void |
setLoggerRule(org.apache.log4j.rule.Rule r) |
public boolean evaluate(org.apache.log4j.spi.LoggingEvent e, Map matches)
public boolean isFindRuleRequired()
public void setFilterRule(org.apache.log4j.rule.Rule r)
public void setFindRule(org.apache.log4j.rule.Rule r)
public void setLoggerRule(org.apache.log4j.rule.Rule r)
Copyright © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.