code: public static void logCommError(Exception e, HttpURLConnection conn, String appKey,
                                      String method, byte[] content) {
          if (!needEnableLogger) {
              return;
          }
          String contentString = null;
          try {
              contentString = new String(content, "UTF-8");
              logCommError(e, conn, appKey, method, contentString);
          } catch (Exception e1) {
              e1.printStackTrace();
          }
      }
docs: 通讯错误日志