Any line output to a text Viewport may be automatically logged to a file.
Such logging may be attached to any already opened file (via a logical unit
number) or to a file that is to be opened by logging being initiated. A prefix
of up to 32 characters may be specified such that all lines will have this
prefix attached to them before they are written to the file.