code: def keep_scan(cls, result_key, token):
          
          def _scan(self):
              return self.get(token)
  
          cls.scan(result_key, _scan)
docs: Define a property that is set to the list of lines that contain the
          given token.  Uses the get method of the log file.