Show print statements in vision text area


Is it possible to show print statements from a script in a vision text area (or similar component) to show status of a running script to the vision client user?

Fx. if I make a button with a button clicked script that says

print "Hello"

Would it be possible to show the output from that print statement in a text area component?


Actually what I need is to show everything from the console log including print statements in the text area.
Is that possible?


Not the console from the client… (AFAIK)

But everything that is going on on the gateway: