Package rma.util.logging
Class LevelCeilingFilter
java.lang.Object
rma.util.logging.DecoratingLogFilter
rma.util.logging.LevelCeilingFilter
- All Implemented Interfaces:
Filter
The Class LevelCeilingFilter. Handlers have a configured level that acts like a floor.
Before logging a message the handlers check that the message is at or above that floor.
This class implements a level ceiling, classes must be at or below this ceiling to pass
the filter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Level
getLevelProperty
(String name, Level defaultValue) Gets the level property.boolean
isLoggable
(LogRecord record) void
Methods inherited from class rma.util.logging.DecoratingLogFilter
getFilterProperty, setFilter
-
Constructor Details
-
LevelCeilingFilter
public LevelCeilingFilter()
-
-
Method Details
-
setLevel
-
isLoggable
- Specified by:
isLoggable
in interfaceFilter
- Overrides:
isLoggable
in classDecoratingLogFilter
-
getLevelProperty
Gets the level property. Based on package private method of same name in LogManager.- Parameters:
name
- the namedefaultValue
- the default value- Returns:
- the level property
-