Save This Page
Home » apache-log4j-1.2.15 » org.apache » log4j » or » [javadoc | source]
org.apache.log4j.or
public class: ThreadGroupRenderer [javadoc | source]
java.lang.Object
   org.apache.log4j.or.ThreadGroupRenderer

All Implemented Interfaces:
    ObjectRenderer

Render ThreadGroup objects in a format similar to the information output by the ThreadGroup#list method.
Constructor:
 public ThreadGroupRenderer() 
Method from org.apache.log4j.or.ThreadGroupRenderer Summary:
doRender
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.or.ThreadGroupRenderer Detail:
 public String doRender(Object o) 
    Render a ThreadGroup object similar to the way that the 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 Thread#isDaemon .