com.acsinet_solutions.util.log
Class Log4JExtendedPatternLayout

java.lang.Object
  extended by org.apache.log4j.Layout
      extended by org.apache.log4j.PatternLayout
          extended by com.acsinet_solutions.util.log.AbstractLog4JPatternLayout
              extended by com.acsinet_solutions.util.log.Log4JExtendedPatternLayout
All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler

public final class Log4JExtendedPatternLayout
extends AbstractLog4JPatternLayout

Extension of the Log4J pattern to allow reporting of nested exceptions. Particularly useful on pre-J2SE 1.4 environments where nested exceptions were not natively supported.

Author:
Santiago Arriaga
See Also:
ExceptionDataWriter

Field Summary
 
Fields inherited from class org.apache.log4j.PatternLayout
BUF_SIZE, DEFAULT_CONVERSION_PATTERN, MAX_CAPACITY, TTCC_CONVERSION_PATTERN
 
Fields inherited from class org.apache.log4j.Layout
LINE_SEP, LINE_SEP_LEN
 
Constructor Summary
Log4JExtendedPatternLayout()
          Constructor for Log4JExtendedPatternLayout
Log4JExtendedPatternLayout(java.lang.String pattern)
          Constructor for Log4JExtendedPatternLayout
 
Method Summary
protected  ExceptionDataWriter getExceptionDataWriter()
          Get the exception data writer instance that will be used to print exceptions for the current class.
 
Methods inherited from class com.acsinet_solutions.util.log.AbstractLog4JPatternLayout
format, ignoresThrowable
 
Methods inherited from class org.apache.log4j.PatternLayout
activateOptions, createPatternParser, getConversionPattern, setConversionPattern
 
Methods inherited from class org.apache.log4j.Layout
getContentType, getFooter, getHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JExtendedPatternLayout

public Log4JExtendedPatternLayout()
Constructor for Log4JExtendedPatternLayout


Log4JExtendedPatternLayout

public Log4JExtendedPatternLayout(java.lang.String pattern)
Constructor for Log4JExtendedPatternLayout

Method Detail

getExceptionDataWriter

protected ExceptionDataWriter getExceptionDataWriter()
Description copied from class: AbstractLog4JPatternLayout
Get the exception data writer instance that will be used to print exceptions for the current class.

Specified by:
getExceptionDataWriter in class AbstractLog4JPatternLayout