code: def write(self, data: str):
      self.stream.write(data)
      self._log_data_queue.put_nowait(data)
  
imports: import sys
  import threading
  from queue import Queue
  from typing import TextIO
  from neptune.internal.threading.daemon import Daemon
  from neptune.logging import Logger
  from neptune.metadata_containers import MetadataContainer
label_desc: Use image node_id 4 for calling the StdStreamCaptureLogger obj's underlying member method code with example usage: obj.write(data) without return types