| Constructor and Description |
|---|
LevelFilter(Collection<Level> includedLevels)
Construct a new instance.
|
LevelFilter(Level includedLevel)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLoggable(LogRecord record)
Determine whether the message is loggable.
|
public LevelFilter(Level includedLevel)
includedLevel - the level to includepublic LevelFilter(Collection<Level> includedLevels)
includedLevels - the levels to excludepublic boolean isLoggable(LogRecord record)
isLoggable in interface Filterrecord - the log recordtrue if the level is in the inclusion listCopyright © 2018 JBoss by Red Hat. All rights reserved.