com.atlassian.confluence.util
Class PatternLayoutWithContext

java.lang.Object
  extended by org.apache.log4j.Layout
      extended by org.apache.log4j.PatternLayout
          extended by com.atlassian.confluence.util.PatternLayoutWithStackTrace
              extended by com.atlassian.confluence.util.PatternLayoutWithContext
All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler

public class PatternLayoutWithContext
extends PatternLayoutWithStackTrace

Pattern layout that will dump the current Log4J MDC as a line between the initial log line and stack trace (if any) The general policy is that the MDC will be dumped if the log event level is WARN or higher or if a stack trace has been included in the event.


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
PatternLayoutWithContext()
           
 
Method Summary
 
Methods inherited from class com.atlassian.confluence.util.PatternLayoutWithStackTrace
appendStackTrace, format, getNonCauseUnderlying, 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

PatternLayoutWithContext

public PatternLayoutWithContext()


Copyright © 2003-2010 Atlassian. All Rights Reserved.