|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.logmanager.log4j.filters.Log4jFilter
public final class Log4jFilter
A bridge filter to a log4j filter chain.
Constructor Summary | |
---|---|
Log4jFilter(org.apache.log4j.spi.Filter filterChain,
boolean defaultResult)
Construct a new instance. |
Method Summary | |
---|---|
boolean |
isLoggable(java.util.logging.LogRecord record)
Determine if the record is loggable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log4jFilter(org.apache.log4j.spi.Filter filterChain, boolean defaultResult)
filterChain
- the log4j filter chaindefaultResult
- the result to use if the filter chain returns Filter.NEUTRAL
Method Detail |
---|
public boolean isLoggable(java.util.logging.LogRecord record)
isLoggable
in interface java.util.logging.Filter
record
- the log record
true
if it is loggable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |