The Log library can be used in game-playing programs and other search programs to log search trees to file.
Example of usage can be found here: logging_game_trees.rtf
Download the GT-Log Library here: loglibrary.rar