Simple logging to a file

Sometimes it’s needed to have a simple logging mechanism, especially, if you want to find a hard to find bug, the exact place of the bug. For that i wrote a simple logging function. Add the fct. to a couple of code positions giving the current…