org.apache.log4j.or
public class ThreadGroupRenderer extends Object implements ObjectRenderer
Since: 1.0
Constructor Summary | |
---|---|
ThreadGroupRenderer() |
Method Summary | |
---|---|
String | doRender(Object o)
Render a {@link ThreadGroup} object similar to the way that the
{@link ThreadGroup#list} method output information.
|
The output of a simple program consisting of one
main
thread is:
java.lang.ThreadGroup[name=main, maxpri=10] Thread=[main,5,false]
The boolean value in thread information is the value returned by {@link Thread#isDaemon}.