Class CallerData

java.lang.Object
ch.qos.logback.classic.spi.CallerData

@Deprecated(since="2022-01-27") public class CallerData extends Object
Deprecated.
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 final String
    Deprecated.
     
    static final StackTraceElement[]
    Deprecated.
    This value is returned in case no caller data could be extracted.
    static final int
    Deprecated.
    When caller information is not available this constant is used for the line number.
    static final String
    Deprecated.
    When caller information is not available this constant is used for file name, method name, etc.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    extract(Throwable t, String fqnOfInvokingClass, int maxDepth, List<String> frameworkPackageList)
    Deprecated.
    Extract caller data information as an array based on a Throwable passed as parameter
    Deprecated.
    Returns a StackTraceElement where all string fields are set to NA and line number is set to LINE_NA.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NA

      public static final String NA
      Deprecated.
      When caller information is not available this constant is used for file name, method name, etc.
      See Also:
    • 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:
    • CALLER_DATA_NA

      public static final String CALLER_DATA_NA
      Deprecated.
    • EMPTY_CALLER_DATA_ARRAY

      public static final StackTraceElement[] EMPTY_CALLER_DATA_ARRAY
      Deprecated.
      This value is returned in case no caller data could be extracted.
  • Constructor Details

    • CallerData

      public CallerData()
      Deprecated.
  • Method Details

    • extract

      public static StackTraceElement[] extract(Throwable t, String fqnOfInvokingClass, int maxDepth, List<String> frameworkPackageList)
      Deprecated.
      Extract caller data information as an array based on a Throwable passed as parameter
    • naInstance

      public static StackTraceElement naInstance()
      Deprecated.
      Returns a StackTraceElement where all string fields are set to NA and line number is set to LINE_NA.
      Returns:
      StackTraceElement with values set to NA constants.
      Since:
      1.0.10