code: def _log_send(self, logrecord):
          
          for field, value in self.__log_extensions:
              setattr(logrecord, field, value)
          self.__send_to_frontend({"band": "log", "payload": logrecord})
docs: Forward log records to the frontend.