Page 1 of 1

Directly Writing to Log File

Posted: Sat Nov 19, 2022 9:41 pm
by sadsak
I have a fairly complicated set scripts that I am debugging. It works 99.99% of the time, but when it doesn't, I need a lot of debug info. I would like to write the debug info to the main log file without echoing it to the console. Is there a function that will allow me to log to the main logfile? If not, anyone have any suggestions on how to tackle this?

Re: Directly Writing to Log File

Posted: Sun Nov 20, 2022 2:27 am
by demonnic
There's not really a good way to do this directly, no. There was recently a very nice alternative Mudlet Logger released over at https://github.com/Kairuni/MudletLogger which you might want to take a look at. It's got some pretty snazzy features.