docs: def process_response(self, request, response):
          """
          Create the logging message..
          """
          try:
              log_dict = create_log_dict(request, response)
  
              # add the request time to the log_dict; if no start time is
              # available, use -1 as NA value
              request_time = (
                  time.time() - self.start_time if hasattr(self, 'start_time')
                  and self.start_time else -1)
              log_dict.update({'request_time': request_time})
  
              is_request_time_too_high = (
                  request_time > float(settings.LOGUTILS_REQUEST_TIME_THRESHOLD))
              use_sql_info = settings.DEBUG or is_request_time_too_high
  
              log_msg = create_log_message(log_dict, use_sql_info, fmt=False)
  
              if is_request_time_too_high:
                  logger.warning(log_msg, log_dict, extra=log_dict)
              else:
                  logger.info(log_msg, log_dict, extra=log_dict)
          except Exception as e:
              logger.exception(e)
  
          return response