1
package de.intarsys.tools.logging;
3
import java.util.logging.Filter;
4
import java.util.logging.LogRecord;
6
public class ThreadFilter implements Filter {
8
final private Thread thread;
10
public ThreadFilter() {
11
this(Thread.currentThread());
14
public ThreadFilter(Thread thread) {
19
public boolean isLoggable(LogRecord record) {
20
return thread == Thread.currentThread();