当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
ThreadLocalAppender (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
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 $
- Author:
- Adrian Brock.
Fields inherited from class org.apache.log4j.AppenderSkeleton |
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
Methods inherited from class org.apache.log4j.AppenderSkeleton |
activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold |
LOG
public static final String LOG
- See Also:
- Constant Field Values
ThreadLocalAppender
public ThreadLocalAppender()
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()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.