Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
qt message handler code execution
damianatorrpm last edited by damianatorrpm
Just wanted to make sure that I understand this correctly:
If I mark some logging categories in a messagehandler as disabled,
the code in the qCCritical, qCDebug lines is still executed at runtime right?
Assertions are always executed as well.
I was thinking if it is worthwhile if you have some more complex debug lines
to go with ifdef _debug...
AFAIU, if the category is disabled, nothing will happen after the enabled check.