Constructor and Description |
---|
LevelRangeFilter(Level min,
boolean minInclusive,
Level max,
boolean maxInclusive)
Create a new instance.
|
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 © 2012 JBoss by Red Hat. All Rights Reserved.