intarsys runtime library

de.intarsys.tools.logging
Class TaggedThreadFilter

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

public class TaggedThreadFilter
extends Object
implements Filter

Only accept log requests within threads that are tagged with the receiver object.


Constructor Summary
TaggedThreadFilter()
           
 
Method Summary
 void activate()
           
 void deactivate()
           
 boolean isLoggable(LogRecord record)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaggedThreadFilter

public TaggedThreadFilter()
Method Detail

activate

public void activate()

deactivate

public void deactivate()

isLoggable

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

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.