|
JBoss LogManager 1.1.0.CR6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.logmanager.filters.LevelFilter
public final class LevelFilter
A filter which excludes messages of a certain level or levels
Constructor Summary | |
---|---|
LevelFilter(Collection<Level> includedLevels)
Construct a new instance. |
|
LevelFilter(Level includedLevel)
Construct a new instance. |
Method Summary | |
---|---|
boolean |
isLoggable(LogRecord record)
Determine whether the message is loggable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LevelFilter(Level includedLevel)
includedLevel
- the level to includepublic LevelFilter(Collection<Level> includedLevels)
includedLevels
- the levels to excludeMethod Detail |
---|
public boolean isLoggable(LogRecord record)
isLoggable
in interface Filter
record
- the log record
true
if the level is in the inclusion list
|
JBoss LogManager 1.1.0.CR6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |