- java.lang.Object
-
- org.jboss.logmanager.filters.LevelFilter
-
-
Constructor Summary
Constructors Constructor Description LevelFilter(Collection<Level> includedLevels)Construct a new instance.LevelFilter(Level includedLevel)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisLoggable(LogRecord record)Determine whether the message is loggable.
-
-
-
Constructor Detail
-
LevelFilter
public LevelFilter(Level includedLevel)
Construct a new instance.- Parameters:
includedLevel- the level to include
-
LevelFilter
public LevelFilter(Collection<Level> includedLevels)
Construct a new instance.- Parameters:
includedLevels- the levels to exclude
-
-
Method Detail
-
isLoggable
public boolean isLoggable(LogRecord record)
Determine whether the message is loggable.- Specified by:
isLoggablein interfaceFilter- Parameters:
record- the log record- Returns:
trueif the level is in the inclusion list
-
-