class_docstr: Log the results displayed in `learn.path/fname`
class_docstr_tok: ["Log","the","results","displayed","in","`","learn.path\/fname","`"]
docstr: Write a line with `log` and call the old logger.
docstr_tok: ["Write","a","line","with","`","log","`","and","call","the","old","logger","."]
code: def _write_line(self, log):
      "Write a line with `log` and call the old logger."
      self.file.write(",".join([str(t) for t in log]) + "\n")
      self.file.flush()
      os.fsync(self.file.fileno())
      self.old_logger(log)
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 4 for calling the CSVLogger obj's underlying member method code with example usage: obj._write_line(log) without return types