Directly Writing to Log File

Post Reply
sadsak
Posts: 2
Joined: Mon May 16, 2022 11:32 pm

Directly Writing to Log File

Post 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?

User avatar
demonnic
Posts: 854
Joined: Sat Dec 05, 2009 3:19 pm

Re: Directly Writing to Log File

Post 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.

Post Reply