|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.qos.logback.classic.spi.CallerData
public class CallerData
This class computes caller data returning the result in the form of a StackTraceElement array.
| Field Summary | |
|---|---|
static String |
CALLER_DATA_NA
|
static StackTraceElement[] |
EMPTY_CALLER_DATA_ARRAY
This value is returned in case no caller data could be extracted. |
static int |
LINE_NA
When caller information is not available this constant is used for the line number. |
static String |
NA
When caller information is not available this constant is used for file name, method name, etc. |
| Constructor Summary | |
|---|---|
CallerData()
|
|
| Method Summary | |
|---|---|
static StackTraceElement[] |
extract(Throwable t,
String fqnOfInvokingClass,
int maxDepth)
Extract caller data information as an array based on a Throwable passed as parameter |
static boolean |
isDirectlyInvokingClass(String currentClass,
String fqnOfInvokingClass)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NA
public static final int LINE_NA
public static final String CALLER_DATA_NA
public static final StackTraceElement[] EMPTY_CALLER_DATA_ARRAY
| Constructor Detail |
|---|
public CallerData()
| Method Detail |
|---|
public static StackTraceElement[] extract(Throwable t,
String fqnOfInvokingClass,
int maxDepth)
public static boolean isDirectlyInvokingClass(String currentClass,
String fqnOfInvokingClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||