code: def log_request(self, extra=''):
          
  
          # pylint: disable=no-member
          thread_name = threading.currentThread().getName().lower()
          # pylint: enable=no-member
          if thread_name == 'mainthread':
              thread_name = ''
          else:
              thread_name = '-%s' % thread_name
  
          if self.config['proxy']:
              if self.config['proxy_userpwd']:
                  auth = ' with authorization'
              else:
                  auth = ''
              proxy_info = ' via %s proxy of type %s%s' % (
                  self.config['proxy'], self.config['proxy_type'], auth)
          else:
              proxy_info = ''
          if extra:
              extra = '[%s] ' % extra
          logger_network.debug(
              '[%s%s] %s%s %s%s',
              ('%02d' % self.request_counter
               if self.request_counter is not None else 'NA'),
              thread_name,
              extra, self.request_method or 'GET',
              self.config['url'], proxy_info)
docs: Send request details to logging system.