code: public static String formatStackTrace(StackTraceElement[] stackTrace) {
      assertInitialization();
      return XLog.sLogConfiguration.stackTraceFormatter.format(stackTrace);
    }
docs: Format a stack trace using default stack trace formatter.
  
  @param stackTrace the stack trace to format
  @return the formatted string