So while modding one can not read up on all the funny error messages, isn't that annoying.
This widget makes a file instantlog.txt in the same place where there is infolog.txt and instantly writes all console/chat text to it.
It only does that when /cheat is enabled because during modding I like to have that autoenabled (put Spring.SendCommands ("cheat") somewhere in mod) but during online games it is not.
To clear the logfile just disable&renable in F11 list.
(just noticed the "try to write even if logfile==nil" is a bit fail
