Package org.jboss.logmanager.filters
Class LevelChangingFilter
- java.lang.Object
-
- org.jboss.logmanager.filters.LevelChangingFilter
-
-
Constructor Summary
Constructors Constructor Description LevelChangingFilter(Level newLevel)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLoggable(LogRecord record)
Apply the filter to this log record.
-
-
-
Constructor Detail
-
LevelChangingFilter
public LevelChangingFilter(Level newLevel)
Construct a new instance.- Parameters:
newLevel
- the level to change to
-
-
Method Detail
-
isLoggable
public boolean isLoggable(LogRecord record)
Apply the filter to this log record.- Specified by:
isLoggable
in interfaceFilter
- Parameters:
record
- the record to inspect and possibly update- Returns:
true
always
-
-