class_docstr: Allowed patching a stream into the logger.
  Used for capturing and logging stdin and stderr when running in development mode pseudo worker.
class_docstr_tok: ["Allowed","patching","a","stream","into","the","logger",".","Used","for","capturing","and","logging","stdin","and","stderr","when","running","in","development","mode","pseudo","worker","."]
code: def __getattr__(self, attr):
      if attr in [
          "_log",
          "_terminal",
          "_log_level",
          "_cur_line",
          "_cr_overwrite",
          "_force_lf_flush",
          "_lf_last_flush",
      ]:
          return self.__dict__.get(attr)
      return getattr(self._terminal, attr)
  
imports: import logging
  import sys
  from time import time
  from ..binding.frameworks import _patched_call
  from ..config import running_remotely, config, DEBUG_SIMULATE_REMOTE_TASK
  from ..utilities.process.mp import ForkSafeRLock
label_desc: Use image node_id 6 for calling the PrintPatchLogger obj's underlying member method code with example usage: obj.__getattr__(attr) and returns: getattr, self