Can you use the built-in logging method? So the GUI stuff will work.

And maybe add a color.