code: def log(self, level, message, *args, **kwargs):
          
          extra = self.extras.copy()
          extra.update(kwargs.pop('extra', {}))
  
          kwargs['extra'] = extra
          self.logger.log(level, message, *args, **kwargs)
docs: This is the primary method to override to ensure logging with extra
          options gets correctly specified.