Javascript to create a log file

Sasha Harris-Cronin's icon

This is a crosspost, but I thought javascripters might use it. It is a simple javascript to create a logging file. Change the extension to ".log" to open in mac's log reader.

sasha.