private Response logAndRebufferResponseIfNeeded(
      String configKey, Response response, long elapsedTime) throws IOException {
    if (logLevel == Level.NONE) {
      return response;
    }

    return logger.logAndRebufferResponse(configKey, logLevel, response, elapsedTime);
  }
The response handler that is used to provide synchronous support on top of standard response
handling
core/src/main/java/feign/ResponseHandler.java