code: def get_log(self, request, response):
          
          return {
              'method': request.method,
              'path': request.get_full_path(),
              'code': response.status_code,
              'time': time.time(),
          }
docs: Return a dict of data to log for a given request and response.
  
          Override this method if you need to log a different set of values.