class_docstr: Temporary class redirect print messages to a python object.
class_docstr_tok: ["Temporary","class","redirect","print","messages","to","a","python","object","."]
docstr: Write a printed message to log
docstr_tok: ["Write","a","printed","message","to","log"]
code: def write(self, msg):
      """Write a printed message to log"""
      self.log.append(msg)
  
imports: from __future__ import division
  import os
  import numpy
  import sysconfig
  import subprocess
  from mlens import config
  from mlens.utils import utils
  from mlens.utils.exceptions import ParallelProcessingError
  from time import sleep
label_desc: Use image node_id 2 for calling the Logger obj's underlying member method code with example usage: obj.write(msg) without return types