Constructor and Description |
---|
Log4jFilter(org.apache.log4j.spi.Filter filterChain,
boolean defaultResult)
Construct a new instance.
|
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
public boolean isLoggable(LogRecord record)
isLoggable
in interface Filter
record
- the log recordtrue
if it is loggableCopyright © 2013 JBoss by Red Hat. All rights reserved.