Package org.jboss.logmanager.filters
Class DenyAllFilter
- java.lang.Object
-
- org.jboss.logmanager.filters.DenyAllFilter
-
- All Implemented Interfaces:
java.util.logging.Filter
public final class DenyAllFilter extends java.lang.Object implements java.util.logging.Filter
A deny-all filter.
-
-
Field Summary
Fields Modifier and Type Field Description private static DenyAllFilter
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
DenyAllFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DenyAllFilter
getInstance()
Get the filter instance.boolean
isLoggable(java.util.logging.LogRecord record)
Always returnsfalse
.
-
-
-
Field Detail
-
INSTANCE
private static final DenyAllFilter INSTANCE
-
-
Method Detail
-
isLoggable
public boolean isLoggable(java.util.logging.LogRecord record)
Always returnsfalse
.- Specified by:
isLoggable
in interfacejava.util.logging.Filter
- Parameters:
record
- ignored- Returns:
false
-
getInstance
public static DenyAllFilter getInstance()
Get the filter instance.- Returns:
- the filter instance
-
-