intarsys runtime library

de.intarsys.tools.logging
Class SingleThreadFilter

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

public class SingleThreadFilter
extends Object
implements Filter

Only accept log requests within a dedicated thread.


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

Constructor Detail

SingleThreadFilter

public SingleThreadFilter()

SingleThreadFilter

public SingleThreadFilter(Thread thread)
Method Detail

isLoggable

public boolean isLoggable(LogRecord record)
Specified by:
isLoggable in interface Filter

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.