New function: WriteLogf. No need to call sprintf and then WriteLog from now on.
Merge branch 'master' of https://github.com/jmbr/moil