Can anyone tell me how to get logging working for Mach3 GCode? Is it possible?

In the GCode in linuxCNC to log "hello everyone" to an output file 'test.log'

you would type:

Code:
(LOGOPEN, test.log)
(LOG, hello everyone)
(LOGCLOSE)
I doubt this works in Mach3, is there an equivalent?

thanks :-)