Studying: https://qgis.org/pyqgis/master/core/QgsLogger.html

There seems to be four levels. And if their values are taken from Qt, their
values are as listed below:
- debug 0
- warning 1
- critical 2
- fatal 3

Is this correct?

The page says: "*If the debug level of a message is <= QGIS_DEBUG, the
message is written to the console. *"

If that is true, that is not a very meaningful behavior. When would anyone
want to have all debug and warning messages logged, but not critical and
fatal messages? And conversely, if one wants only the messages above some
criticality threshold, that is not possible.

Or have I misunderstood?

/Thomas
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to