Constructor and Description |
---|
LevelFilter(Collection<Level> includedLevels)
Construct a new instance.
|
LevelFilter(Level includedLevel)
Construct a new instance.
|
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 © 2018 JBoss by Red Hat. All rights reserved.