For simple info logging, I would begin by looking at the RedirectOutput() function, and the list of built in Macros.

Use the below link to download one of the newer CHM help files.

http://www.kixtart.org/forums/ubbthreads.php?ubb=download&Number=245