code: def worker_logwarning(self, message, code, nodeid, fslocation):
          
          kwargs = dict(message=message, code=code, nodeid=nodeid, fslocation=fslocation)
          self.config.hook.pytest_logwarning.call_historic(kwargs=kwargs)
docs: Emitted when a node calls the pytest_logwarning hook.