public static String formatStackTrace(StackTraceElement[] stackTrace) {
    assertInitialization();
    return XLog.sLogConfiguration.stackTraceFormatter.format(stackTrace);
  }
Format a stack trace using default stack trace formatter.

@param stackTrace the stack trace to format
@return the formatted string
xlog/src/main/java/com/elvishew/xlog/LogUtils.java