Package org.jboss.logmanager.filters
Class LevelChangingFilter
java.lang.Object
org.jboss.logmanager.filters.LevelChangingFilter
- All Implemented Interfaces:
Filter
A filter which modifies the log record with a new level if the nested filter evaluates
true for that
record.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLoggable(LogRecord record) Apply the filter to this log record.
-
Constructor Details
-
LevelChangingFilter
Construct a new instance.- Parameters:
newLevel- the level to change to
-
-
Method Details
-
isLoggable
Apply the filter to this log record.- Specified by:
isLoggablein interfaceFilter- Parameters:
record- the record to inspect and possibly update- Returns:
truealways
-