code: def emit(self, record):
      try:
          msg = self.format(record)
          tqdm.tqdm.write(msg)
          self.flush()
      except (KeyboardInterrupt, SystemExit):
          raise
      except Exception:
          self.handleError(record)
  
imports: import logging
  import tqdm
label_desc: Use image node_id 2 for calling the LoggingHandler obj's underlying member method code with example usage: obj.emit(record) without return types