def add_text(self, text, color):
        Text(
            x=Globals.native_resolution.x - 30, y=self._num_errors * 23,
            align="right", text=text, size=12, parent=self._error_node, color=color)

        self._num_errors += 1

        if self._num_errors > 30:
            self.clear_messages()
            self.add_error("Error count exceeded. Cleared errors ..")
Internal method to add a new text to the output
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/gui/error_message_display.py/ErrorMessageDisplay.add_text