class_docstr: Redirect stdout to logging.
  
  https://johnpaton.net/posts/redirect-logging/
code: def __enter__(self):
      self._redirector.__enter__()
      return self
  
imports: import logging
  import contextlib
label_desc: Use image node_id 3 for calling the OutputLogger obj's underlying member method code with example usage: obj.__enter__() and returns: self