Hello,

I installed in my application a custom Message Handler with qInstallMessageHandler
to control the output of qDebug, qWarning and the likes...

For simplicity, let's say that I redirect them into a file...

What's unclear for me now, do I have to take usual precautions regarding threading (locking the file i'm writing on in that case I guess) given that qDebugs are called from the main thread but also from other threads resulting in possibly attempt to write the same file from several places...

Thanks for any answer!