Allow extensions to log to file. SM 1.5

Atm, there is no way other then through LogMessage, but what if an extension wants it's own file to spam in?
I will port this to 1.6 also