|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.acelogger.level.filter.BaseLevelFilter net.sourceforge.acelogger.level.filter.GreaterOrEqualLevelFilter
public class GreaterOrEqualLevelFilter
A filter that matches levels greater or equal the supplied one.
Constructor Summary | |
---|---|
GreaterOrEqualLevelFilter(String identifier)
Constructs a new filter that matches levels greater or equal the supplied one. |
|
GreaterOrEqualLevelFilter(String identifier,
LogLevel minimumLevel)
Constructs a new filter that matches levels greater or equal the supplied one. |
Method Summary | |
---|---|
LogLevel |
getMinimumLevel()
Gets the minimum level of this filter. |
boolean |
isSuitable(LogLevel level)
Verifies if a log level is suitable for a determined logger. |
void |
setMinimumLevel(LogLevel minimumLevel)
Sets the minimum level of this filter. |
Methods inherited from class net.sourceforge.acelogger.level.filter.BaseLevelFilter |
---|
getIdentifier |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GreaterOrEqualLevelFilter(String identifier)
LevelFilterConstants.DEFAULT_LEVEL
.
identifier
- The name of this filter.public GreaterOrEqualLevelFilter(String identifier, LogLevel minimumLevel)
identifier
- The name of this filter.minimumLevel
- The desired level for this filter.Method Detail |
---|
public final LogLevel getMinimumLevel()
public final void setMinimumLevel(LogLevel minimumLevel)
minimumLevel
- the minimum level to set.public boolean isSuitable(LogLevel level)
level
- The log level to test.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |