com.jstatcom.component
Class Log4jCustomAppender

java.lang.Object
  extended by org.apache.log4j.AppenderSkeleton
      extended by com.jstatcom.component.Log4jCustomAppender
All Implemented Interfaces:
org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler

public class Log4jCustomAppender
extends org.apache.log4j.AppenderSkeleton

Custom appender for log4j logging.

Author:
Markus Kraetzig

Constructor Summary
Log4jCustomAppender()
           
 
Method Summary
 void close()
           
 boolean requiresLayout()
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jCustomAppender

public Log4jCustomAppender()
Method Detail

requiresLayout

public boolean requiresLayout()
Specified by:
requiresLayout in interface org.apache.log4j.Appender
Specified by:
requiresLayout in class org.apache.log4j.AppenderSkeleton

close

public void close()
Specified by:
close in interface org.apache.log4j.Appender
Specified by:
close in class org.apache.log4j.AppenderSkeleton