Page 1 of 1

How can I send the log output to a file?

Posted: Sun Jun 14, 2009 1:52 pm
by d003232
It is possible to send the log output from the 'RoM script window' to a file? It would be helpful, because while debuging, sometimes the output scrolls so fast that I cant scroll back to read it. In particular the 'haveTarget' function is called so often.

Re: How can I send the log output to a file?

Posted: Sun Jun 14, 2009 3:42 pm
by Administrator
You can use logMessage("string") to dump debug information to the log file. If needed, you can use Lua's own file functions.