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.PatternLayoutpublic String format(org.apache.log4j.spi.LoggingEvent loggingEvent)
format in class org.apache.log4j.PatternLayoutpublic static void appendStackTrace(StringBuffer buffer, Throwable t)
Copyright © 2003–2020 Atlassian. All rights reserved.