Constructor and Description |
---|
LevelRangeFilter(Level min,
boolean minInclusive,
Level max,
boolean maxInclusive)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggable(LogRecord record)
Determine if a record is loggable.
|
public LevelRangeFilter(Level min, boolean minInclusive, Level max, boolean maxInclusive)
min
- the minimum (least severe) level, inclusiveminInclusive
- true
if the min
value is inclusive, false
if it is exclusivemax
- the maximum (most severe) level, inclusivemaxInclusive
- true
if the max
value is inclusive, false
if it is exclusivepublic boolean isLoggable(LogRecord record)
isLoggable
in interface Filter
record
- the log recordtrue
if the record's level falls within the range specified for this instanceCopyright © 2016 JBoss by Red Hat. All rights reserved.