code: def write(self, *args, **kwargs):  # real signature unknown
      super().write(*args, **kwargs)
      save = StringIO()
      save.write(*args, **kwargs)
      APP_CONSOLE_LOGS.outputs(**{self.type_: save.getvalue()})
      self.original.write(*args, **kwargs)
  
imports: import sys
  import threading
  import time
  from io import StringIO
  from typing import Optional
  from labml.internal.app import AppTracker, AppTrackDataSource, Packet
label_desc: Use image node_id 1 for calling the OutputStream obj's underlying member method code with example usage: obj.write() without return types