<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def should_log(self, request, response):
 """ 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. """

        return self.logging_methods == '__all__' or request.method in self.logging_methods