de.intarsys.tools.logging
Class SingleThreadFilter

java.lang.Object
  extended by de.intarsys.tools.logging.SingleThreadFilter
All Implemented Interfaces:
java.util.logging.Filter

public class SingleThreadFilter
extends java.lang.Object
implements java.util.logging.Filter

Only accept log requests within a dedicated thread.


Constructor Summary
SingleThreadFilter()
           
SingleThreadFilter(java.lang.Thread thread)
           
 
Method Summary
 boolean isLoggable(java.util.logging.LogRecord record)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleThreadFilter

public SingleThreadFilter()

SingleThreadFilter

public SingleThreadFilter(java.lang.Thread thread)
Method Detail

isLoggable

public boolean isLoggable(java.util.logging.LogRecord record)
Specified by:
isLoggable in interface java.util.logging.Filter