public interface Thresholdable
Modifier and Type | Method and Description |
---|---|
org.apache.log4j.Level |
getThreshold()
Gets the current threshold setting of the component.
|
boolean |
isAsSevereAsThreshold(org.apache.log4j.Level level)
Returns true if the given level is equals or greater than the current
threshold value of the component.
|
void |
setThreshold(org.apache.log4j.Level level)
Sets the component theshold to the given level.
|
void setThreshold(org.apache.log4j.Level level)
level
- The threshold level events must equal or be greater
than before further processing can be done.org.apache.log4j.Level getThreshold()
boolean isAsSevereAsThreshold(org.apache.log4j.Level level)
level
- The level to test against the component threshold.Copyright © 2002-2017 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.