com.atlassian.confluence.util
Class PatternLayoutWithContext
java.lang.Object
org.apache.log4j.Layout
org.apache.log4j.PatternLayout
com.atlassian.confluence.util.PatternLayoutWithStackTrace
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.
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 |
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 |
PatternLayoutWithContext
public PatternLayoutWithContext()
Copyright © 2003-2011 Atlassian. All Rights Reserved.