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 logging context as a line between the initial log line and stack trace (if any). The general policy is that the context will be dumped if the log event level is WARN or higher or if a stack trace has been included in the event.

See Also:
LoggingContext

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-2014 Atlassian. All Rights Reserved.