code: def node_reporter(self, report):
      nodeid = getattr(report, "nodeid", report)
      # local hack to handle xdist report order
      slavenode = getattr(report, "node", None)
  
      key = nodeid, slavenode
  
      if key in self.node_reporters:
          # TODO: breasks for --dist=each
          return self.node_reporters[key]
  
      reporter = _NodeReporter(nodeid, self)
  
      self.node_reporters[key] = reporter
      self.node_reporters_ordered.append(reporter)
  
      return reporter
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  import platform
  import re
  import sys
  import time
  from datetime import datetime
  import py
  import six
  import pytest
  from _pytest import nodes
  from _pytest.config import filename_arg
label_desc: Use image node_id 3 for calling the LogXML obj's underlying member method code with example usage: obj.node_reporter(report) and returns: reporter, self