code: def write_log_entry(self, testpath, lettercode, longrepr):
      print("%s %s" % (lettercode, testpath), file=self.logfile)
      for line in longrepr.splitlines():
          print(" %s" % line, file=self.logfile)
  
file_path: catboost/contrib/python/pytest/py2/_pytest/resultlog.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import py
label_desc: Use image node_id 2 for calling the ResultLog obj's underlying member method code with example usage: obj.write_log_entry(testpath, lettercode, longrepr) without return types