01-04-2013 11:52 AM
The qDebug/qWarning/qCritical/qFatal logging methods show up in the "Device Log" view as having Severity levels of INFO, WARNING, NOTICE, ERROR, respectively.
Here is my simple code:
Q_DECL_EXPORT int main(int argc, char **argv)
{
qDebug("debug"); // Severity==INFO
qWarning("warning"); // Severity==NOTICE
qCritical("critical"); // Severity==WARNING
qFatal("fatal"); // Severity==ERROR and app exits
return 0;
}
Why the mismatch in Severity levels?
Pv