Package org.jboss.logmanager.filters
Class AcceptAllFilter
- java.lang.Object
-
- org.jboss.logmanager.filters.AcceptAllFilter
-
- All Implemented Interfaces:
java.util.logging.Filter
public final class AcceptAllFilter extends java.lang.Object implements java.util.logging.Filter
An accept-all filter.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AcceptAllFilter
getInstance()
Get the filter instance.boolean
isLoggable(java.util.logging.LogRecord record)
Always returnstrue
.
-
-
-
Method Detail
-
isLoggable
public boolean isLoggable(java.util.logging.LogRecord record)
Always returnstrue
.- Specified by:
isLoggable
in interfacejava.util.logging.Filter
- Parameters:
record
- ignored- Returns:
true
-
getInstance
public static AcceptAllFilter getInstance()
Get the filter instance.- Returns:
- the filter instance
-
-