class_docstr: The most basic monitor that implements printing etc. 
docstr: Writes a message to stdout. 
code: def write(self, msg, *_):
      """Writes a message to stdout."""
      if self.out is not None:
          self.out.write(msg)
          self.out.flush()
  
file_path: dragonfly/dragonfly/utils/reporters.py
imports: import sys
  import six
  import io
label_desc: Use image node_id 2 for calling the BasicReporter obj's underlying member method code with example usage: obj.write(msg) without return types