code: def remove_std_logger(logger=None):
      if isinstance(sys.stdout, PrintPatchLogger):
          # noinspection PyBroadException
          try:
              sys.stdout.disconnect(logger)
          except Exception:
              pass
      if isinstance(sys.stderr, PrintPatchLogger):
          # noinspection PyBroadException
          try:
              sys.stderr.disconnect(logger)
          except Exception:
              pass
  
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 4 for calling the StdStreamPatch obj's underlying member method code with example usage: obj.remove_std_logger(logger) without return types