public class

ThreadGroupRenderer

extends Object
implements ObjectRenderer
java.lang.Object
   ↳ org.apache.log4j.or.ThreadGroupRenderer

Class Overview

Render ThreadGroup objects in a format similar to the information output by the list() method.

Summary

Public Constructors
ThreadGroupRenderer()
Public Methods
String doRender(Object o)
Render a ThreadGroup object similar to the way that the list() method output information.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.log4j.or.ObjectRenderer

Public Constructors

public ThreadGroupRenderer ()

Public Methods

public String doRender (Object o)

Render a ThreadGroup object similar to the way that the 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 isDaemon().