On Mon, Sep 26, 2022 at 09:05:14AM +1000, Nyall Dawson wrote:
> Don't push code to QGIS master which uses QgsDebugMsg() for anything
> BUT reporting unanticipated errors.
Shouldn't those report an error rather than a Debug ?
> For all other cases you must use
> QgsDebugMsgLevel( "message",
On Sat, 24 Sept 2022 at 03:06, Sandro Santilli via QGIS-Developer
wrote:
>
> I often find myself in need to place console printouts to better
> understand the flow of data in qgis while analizing bugs, but I never
> know how to implement such printouts.
>
> The attempts I usually make are:
>
>
I often find myself in need to place console printouts to better
understand the flow of data in qgis while analizing bugs, but I never
know how to implement such printouts.
The attempts I usually make are:
(1)
qDebug() << "XXX: whatever is " << whatever;
(2)
std::cerr << "XXX: