Saving tekst to a ROOT file

Dear reader,

While executing a script I output some tekst to screen for monitoring purposes. I would like to store this tekst also in the file where I write more output to. Is there a way to do this such that the tekst can be simply viewed via the TBrowser? I find it rather inconvenient to write this seperately to an ASCII file.


You can use a TPaveText object