Package ch.qos.logback.classic.spi
Class CallerData
- java.lang.Object
-
- ch.qos.logback.classic.spi.CallerData
-
@Deprecated(since="2022-01-27") public class CallerData extends java.lang.ObjectDeprecated.This internal logback API is not supported by AEM as a Cloud Service.This class computes caller data returning the result in the form of a StackTraceElement array.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCALLER_DATA_NADeprecated.static java.lang.StackTraceElement[]EMPTY_CALLER_DATA_ARRAYDeprecated.This value is returned in case no caller data could be extracted.static intLINE_NADeprecated.When caller information is not available this constant is used for the line number.static java.lang.StringNADeprecated.When caller information is not available this constant is used for file name, method name, etc.
-
Constructor Summary
Constructors Constructor Description CallerData()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.StackTraceElement[]extract(java.lang.Throwable t, java.lang.String fqnOfInvokingClass, int maxDepth, java.util.List<java.lang.String> frameworkPackageList)Deprecated.Extract caller data information as an array based on a Throwable passed as parameterstatic java.lang.StackTraceElementnaInstance()Deprecated.
-
-
-
Field Detail
-
NA
public static final java.lang.String NA
Deprecated.When caller information is not available this constant is used for file name, method name, etc.- See Also:
- Constant Field Values
-
LINE_NA
public static final int LINE_NA
Deprecated.When caller information is not available this constant is used for the line number.- See Also:
- Constant Field Values
-
CALLER_DATA_NA
public static final java.lang.String CALLER_DATA_NA
Deprecated.
-
EMPTY_CALLER_DATA_ARRAY
public static final java.lang.StackTraceElement[] EMPTY_CALLER_DATA_ARRAY
Deprecated.This value is returned in case no caller data could be extracted.
-
-
Method Detail
-
extract
public static java.lang.StackTraceElement[] extract(java.lang.Throwable t, java.lang.String fqnOfInvokingClass, int maxDepth, java.util.List<java.lang.String> frameworkPackageList)Deprecated.Extract caller data information as an array based on a Throwable passed as parameter
-
-