Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.aspects.logging
Class ThreadLocalAppender

    java.lang.Object
      org.apache.log4j.AppenderSkeleton
          org.jboss.aspects.logging.ThreadLocalAppender

All Implemented Interfaces:
  org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler

public class ThreadLocalAppender
extends org.apache.log4j.AppenderSkeleton

An appender that logs into a thread local array list.

Version:
  $Revision: 1.2.2.4 $
Author:
  Adrian Brock.

Field Summary
`static String` | `LOG`

Fields inherited from class org.apache.log4j.AppenderSkeleton
`closed, errorHandler, headFilter, layout, name, tailFilter, threshold`

Constructor Summary
`ThreadLocalAppender()`

Method Summary
`protected void` | `append(org.apache.log4j.spi.LoggingEvent event)`
`void` | `close()`
`static ArrayList` | `getList()` Change the theadlocal list
`boolean` | `requiresLayout()`
`static void` | `setList(ArrayList list)` Change the theadlocal list

Methods inherited from class org.apache.log4j.AppenderSkeleton
`activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### LOG

    public static final String LOG

See Also:
  Constant Field Values

Constructor Detail

### ThreadLocalAppender

    public ThreadLocalAppender()

Method Detail

### getList

    public static ArrayList getList()

  Change the theadlocal list

### setList

    public static void setList(ArrayList list)

  Change the theadlocal list

  Parameters:
    `list` - the new list

### append

    protected void append(org.apache.log4j.spi.LoggingEvent event)

### requiresLayout

    public boolean requiresLayout()

### close

    public void close()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.