Package org.jboss.logmanager.filters
Class AllFilter
- java.lang.Object
-
- org.jboss.logmanager.filters.AllFilter
-
- All Implemented Interfaces:
Filter
public final class AllFilter extends Object implements Filter
A filter consisting of several filters in a chain. If any filter finds the log message to be unloggable, the message will not be logged and subsequent filters will not be checked. If there are no nested filters, this instance always returnstrue
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLoggable(LogRecord record)
Determine whether the record is loggable.
-
-
-
Method Detail
-
isLoggable
public boolean isLoggable(LogRecord record)
Determine whether the record is loggable.- Specified by:
isLoggable
in interfaceFilter
- Parameters:
record
- the log record- Returns:
true
if all the constituent filters returntrue
-
-