original_docstring: 
          Log only if request is in the logging methods and response contains 'log'.
          
docstring: Log only if request is in the logging methods and response contains 'log'.
docstring_tokens: Log only if request is in the logging methods and response contains ' log ' .
code: def should_log(self, request, response):
          """
          Log only if request is in the logging methods and response contains 'log'.
          """
          should_log_method = super(MockCustomCheckLoggingWithLoggingMethodsView, self).should_log(request, response)
          if not should_log_method:
              return False
          return 'log' in response.data
code_tokens: def should_log ( self , request , response ) : should_log_method = super ( MockCustomCheckLoggingWithLoggingMethodsView , self ) . should_log ( request , response ) if not should_log_method : return False return 'log' in response . data
short_docstring: Log only if request is in the logging methods and response contains 'log'.
short_docstring_tokens: Log only if request is in the logging methods and response contains ' log ' .
comment: """
          Log only if request is in the logging methods and response contains 'log'.
          """