save the out put of the event log to text file

Hello scripters

I have a applescript application that does al kind of thinks. I like to save the event log
of this script.

Is it possible (and how to do this) to save the out put of the event log to a text file.

Thanks for the help.

Nils van de Loo