net.sf.jour.log4j.ext
Class DequeueForLog4jAppender
java.lang.Object
org.apache.log4j.AppenderSkeleton
net.sf.jour.log4j.ext.DequeueForLog4jAppender
- All Implemented Interfaces:
- org.apache.log4j.Appender, org.apache.log4j.spi.AppenderAttachable, org.apache.log4j.spi.OptionHandler
- public class DequeueForLog4jAppender
- extends org.apache.log4j.AppenderSkeleton
- implements org.apache.log4j.spi.AppenderAttachable
Convers Jour Events in messages to printable log4j events.
Created on 06.12.2004
Contributing Author(s):
Misha Lifschitz (Inital implementation)
Vlad Skarzhevskyy (Inital implementation)
- Version:
- $Revision: 1.1 $ ($Author: vlads $) $Date: 2004/12/07 09:05:03 $
- Author:
- vlads
Field Summary |
(package private) org.apache.log4j.helpers.AppenderAttachableImpl |
aai
|
protected static org.apache.log4j.Logger |
log
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
aai
org.apache.log4j.helpers.AppenderAttachableImpl aai
DequeueForLog4jAppender
public DequeueForLog4jAppender()
addAppender
public void addAppender(org.apache.log4j.Appender newAppender)
- Specified by:
addAppender
in interface org.apache.log4j.spi.AppenderAttachable
getAllAppenders
public java.util.Enumeration getAllAppenders()
- Specified by:
getAllAppenders
in interface org.apache.log4j.spi.AppenderAttachable
getAppender
public org.apache.log4j.Appender getAppender(java.lang.String name)
- Specified by:
getAppender
in interface org.apache.log4j.spi.AppenderAttachable
removeAllAppenders
public void removeAllAppenders()
- Specified by:
removeAllAppenders
in interface org.apache.log4j.spi.AppenderAttachable
removeAppender
public void removeAppender(org.apache.log4j.Appender appender)
- Specified by:
removeAppender
in interface org.apache.log4j.spi.AppenderAttachable
removeAppender
public void removeAppender(java.lang.String name)
- Specified by:
removeAppender
in interface org.apache.log4j.spi.AppenderAttachable
requiresLayout
public boolean requiresLayout()
- Deprecated. Will be removed with no replacement.
- Specified by:
requiresLayout
in interface org.apache.log4j.Appender
isAttached
public boolean isAttached(org.apache.log4j.Appender appender)
- Is the appender passed as parameter attached to this category?
- Specified by:
isAttached
in interface org.apache.log4j.spi.AppenderAttachable
append
public void append(org.apache.log4j.spi.LoggingEvent event,
ProfilerEvent pEvent)
append
public void append(org.apache.log4j.spi.LoggingEvent event)
close
public void close()
- Specified by:
close
in interface org.apache.log4j.Appender
Copyright © 2004 sourceforge. All Rights Reserved.