|
||||||||||
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.LessOrEqualLevelFilter
public class LessOrEqualLevelFilter
A filter that matches levels less or equal the supplied one.
Constructor Summary | |
---|---|
LessOrEqualLevelFilter(String identifier)
Constructs a new filter that matches levels less or equal the supplied one. |
|
LessOrEqualLevelFilter(String identifier,
LogLevel maximumLevel)
Constructs a new filter that matches levels less or equal the supplied one. |
Method Summary | |
---|---|
LogLevel |
getMaximumLevel()
Gets the maximum level of this filter. |
boolean |
isSuitable(LogLevel level)
Verifies if a log level is suitable for a determined logger. |
void |
setMaximumLevel(LogLevel maximumLevel)
Sets the maximum 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 LessOrEqualLevelFilter(String identifier)
LevelFilterConstants.DEFAULT_LEVEL
.
identifier
- The name of this filter.public LessOrEqualLevelFilter(String identifier, LogLevel maximumLevel)
identifier
- The name of this filter.maximumLevel
- The desired level for this filter.Method Detail |
---|
public final LogLevel getMaximumLevel()
public final void setMaximumLevel(LogLevel maximumLevel)
maximumLevel
- the maximum 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 |