|
JBoss Log Manager 1.4.0.Final | |||||||||
| 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 exclude| Method Detail |
|---|
public boolean isLoggable(LogRecord record)
isLoggable in interface Filterrecord - the log record
true if the level is in the inclusion list
|
JBoss Log Manager 1.4.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||