public class AndFilter
extends org.apache.log4j.spi.Filter
implements org.apache.log4j.xml.UnrecognizedElementHandler
Constructor and Description |
---|
AndFilter() |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions() |
void |
addFilter(org.apache.log4j.spi.Filter filter) |
int |
decide(org.apache.log4j.spi.LoggingEvent event)
If this event does not already contain location information,
evaluate the event against the expression.
|
boolean |
parseUnrecognizedElement(Element element,
Properties props) |
void |
setAcceptOnMatch(boolean acceptOnMatch) |
public void activateOptions()
activateOptions
in interface org.apache.log4j.spi.OptionHandler
activateOptions
in class org.apache.log4j.spi.Filter
public void addFilter(org.apache.log4j.spi.Filter filter)
public void setAcceptOnMatch(boolean acceptOnMatch)
public int decide(org.apache.log4j.spi.LoggingEvent event)
Filter.NEUTRAL
decide
in class org.apache.log4j.spi.Filter
public boolean parseUnrecognizedElement(Element element, Properties props) throws Exception
parseUnrecognizedElement
in interface org.apache.log4j.xml.UnrecognizedElementHandler
Exception
Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.