Output stream wrapper; possibly useful for debugging code with print statements.
When write() is called, it makes a note of the calling Frame. The indentation level is equal to the number of frames in the call stack which have been previously noted. See example.