Is there any way that I could change the behavior of qDebug()? What I would like to do is open up a file at the beginning of my program, and somehow point qDebug() to it such that instead of writing to stdout, it dumped to my text file.
Printable View
Is there any way that I could change the behavior of qDebug()? What I would like to do is open up a file at the beginning of my program, and somehow point qDebug() to it such that instead of writing to stdout, it dumped to my text file.