|
||||||||||
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.NotEqualLevelFilter
public class NotEqualLevelFilter
A filter that doesn't matches an exact level.
Constructor Summary | |
---|---|
NotEqualLevelFilter(String identifier)
Constructs a new filter to exclude exact matches of log levels. |
|
NotEqualLevelFilter(String identifier,
LogLevel undesiredLevel)
Constructs a new filter to exclude exact matches of log levels. |
Method Summary | |
---|---|
LogLevel |
getUndesiredLevel()
Gets the undesired level of this filter. |
boolean |
isSuitable(LogLevel level)
Verifies if a log level is suitable for a determined logger. |
void |
setUndesiredLevel(LogLevel undesiredLevel)
Sets the undesired 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 NotEqualLevelFilter(String identifier)
LevelFilterConstants.DEFAULT_LEVEL
.
identifier
- The name of this filter.public NotEqualLevelFilter(String identifier, LogLevel undesiredLevel)
identifier
- The name of this filter.undesiredLevel
- The desired level for this filter.Method Detail |
---|
public final LogLevel getUndesiredLevel()
public final void setUndesiredLevel(LogLevel undesiredLevel)
undesiredLevel
- The undesired 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 |