public final class LoggerFilterStore
extends java.util.ArrayList<java.lang.Object>
implements java.util.logging.Filter
Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
instance
Hold the logger to prevent GC, weak-referenced globally.
|
Constructor and Description |
---|
LoggerFilterStore()
Creates the store.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int index)
Override
|
static java.util.ArrayList<java.lang.Object> |
getStore()
Returns a store object.
|
static void |
inject()
Injects the store.
|
boolean |
isLoggable(java.util.logging.LogRecord record)
Unused
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
protected static java.util.logging.Logger instance
public java.lang.Object get(int index)
get
in interface java.util.List<java.lang.Object>
get
in class java.util.ArrayList<java.lang.Object>
public boolean isLoggable(java.util.logging.LogRecord record)
isLoggable
in interface java.util.logging.Filter
public static final void inject()
public static final java.util.ArrayList<java.lang.Object> getStore()
i
- Store object index.clazz
- Class marker.