| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final boolean | |
| private final int | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | LevelRangeFilter(final Level
the minimum (least severe) level, inclusive min, final boolean true if the min value is inclusive, false if it is exclusivethe maximum (most severe) level, inclusive max, final boolean true if the max value is inclusive, false if it is exclusiveCreate a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the record's level falls within the range specified for this instancethe log record record)Implements java. Determine if a record is loggable. |
| max | back to summary |
|---|---|
| private final int max | |
| maxInclusive | back to summary |
|---|---|
| private final boolean maxInclusive | |
| min | back to summary |
|---|---|
| private final int min | |
| minInclusive | back to summary |
|---|---|
| private final boolean minInclusive | |
| LevelRangeFilter | back to summary |
|---|---|
| public LevelRangeFilter(final Level min, final boolean minInclusive, final Level max, final boolean maxInclusive) Create a new instance. | |
| isLoggable | back to summary |
|---|---|
| public boolean isLoggable(final LogRecord record) Implements java. Determine if a record is loggable.
| |