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 Filter
record
- the log recordtrue
if the level is in the inclusion listCopyright © 2016 JBoss by Red Hat. All rights reserved.