Leaving a message in the log.nsf

Hi

I want to leave text in the log.nsf through LotusScript. How can I do that? Can I simply use the print statement?

Regards

Subject: Leaving a message in the log.nsf

from the Designer Help:

When you run LotusScript agents on the Notes server, the commands MsgBox, Inputbox, and Print will be re-directed to the status bar and will be put into the agents log.

For HTTP servers, these commands redirect the output to the browser. You can create HTML pages dynamically using these commands to serve to any browser.