public static String formatXml(String xml) {
    assertInitialization();
    return XLog.sLogConfiguration.xmlFormatter.format(xml);
  }
Format an XML string using default XML formatter.

@param xml the XML string to format
@return the formatted string
xlog/src/main/java/com/elvishew/xlog/LogUtils.java