public class ThreadFilter
extends org.apache.log4j.spi.Filter
| Modifier and Type | Field and Description |
|---|---|
protected String |
threadName
the name of the only thread to accept
|
| Constructor and Description |
|---|
ThreadFilter(String threadName) |
| Modifier and Type | Method and Description |
|---|---|
int |
decide(org.apache.log4j.spi.LoggingEvent event) |
void |
setThreadName(String threadName) |
protected String threadName
public ThreadFilter(String threadName)
public int decide(org.apache.log4j.spi.LoggingEvent event)
decide in class org.apache.log4j.spi.Filterpublic void setThreadName(String threadName)
Copyright © 1999–2014 CodeLutin. All rights reserved.