logback-android/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java
public StackTraceElement[] getCallerData() {
    if (callerDataArray == null) {
      callerDataArray = CallerData.extract(new Throwable(), fqnOfLoggerClass,
              loggerContext.getMaxCallerDataDepth(), loggerContext.getFrameworkPackages());
    }
    return callerDataArray;
  }
public StackTraceElement[] getCallerData() {
    if (callerDataArray == null) {
      callerDataArray = CallerData.extract(new Throwable(), fqnOfLoggerClass,
              loggerContext.getMaxCallerDataDepth(), loggerContext.getFrameworkPackages());
    }
    return callerDataArray;
  }
Get the caller information for this logging event. If caller information is
null at the time of its invocation, this method extracts location
information. The collected information is cached for future use.
<p>
Note that after serialization it is impossible to correctly extract caller
information.
</p>