liblog: add the loglevel, file and linenumber to the log output