def should_log(self, request, response):
return self.logging_methods == '<STR_LIT>' or request.method in self.logging_methods<EOL>
Method that should return a value that evaluated to True if the request should be logged.
By default, check if the request method is in logging_methods.