simple file and console logger for Qt apps