public class PatternLayoutWithStackTrace
extends org.apache.log4j.PatternLayout
Constructor and Description |
---|
PatternLayoutWithStackTrace() |
Modifier and Type | Method and Description |
---|---|
static void |
appendStackTrace(StringBuffer buffer,
Throwable t) |
String |
format(org.apache.log4j.spi.LoggingEvent loggingEvent) |
static Throwable |
getNonCauseUnderlying(Throwable t)
Find the first underlying exception of t which you *can't* get by simply calling getCause() n times.
|
boolean |
ignoresThrowable() |
public boolean ignoresThrowable()
ignoresThrowable
in class org.apache.log4j.PatternLayout
public String format(org.apache.log4j.spi.LoggingEvent loggingEvent)
format
in class org.apache.log4j.PatternLayout
public static void appendStackTrace(StringBuffer buffer, Throwable t)
Copyright © 2003–2016 Atlassian. All rights reserved.