Closed Montel closed 6 years ago
What is the need/use case this patch is trying to address?
Disable noise when we use in project. in qt5 we can do it so it can be useful otherwise we will have a lot of debug .
Makes sense then. Could the code be a bit more symmetric though:
"Call the macros o0Debug() and o2Warning() (don't forget to add the parentheses)" We can't add parentheses as in qt4 we need to use qDebug() and in qt5 we need to use qCDebug(O2_DEBUG_LOG) so it's not possible to add parentheses here
Shouldn't #define o0Debug() qcDebug(O2_DEBUG_LOG)
do the trick?
Do you have some reviews on this patch ?