No need to log __FILE__ and __LINE__. Just define QS_LOG_LINE_NUMBERS (in QsLog.pri) and QsLog does it for you.