code: function logError(log, err) {
      let debug = log.debug || log.trace || log.log;
      if (err.Fault) {
          log.error(err.Fault);
          if (err.response && err.response.request) {
              log.error("URL: " + err.response.request.href);
          }
          if (err.body) debug(err.body);
      } else {
          log.error(err.stack ? err.stack : err);
      }
  }
docs: Logs the given error to the given log facility.
  
  @private