1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-17 21:28:43 -04:00

Moved logger to QtApplication level. Corrections to some messages

This commit is contained in:
f4exb
2017-11-11 11:11:44 +01:00
parent 5f22045abb
commit d110a3749d
9 changed files with 31 additions and 22 deletions
+5 -5
View File
@@ -43,20 +43,20 @@ QString LogMessage::toString(const QString& msgFormat, const QString& timestampF
switch (type)
{
case QtDebugMsg:
decorated.replace("{type}","DEBUG ");
decorated.replace("{type}","(D)");
break;
case QtWarningMsg:
decorated.replace("{type}","WARNING ");
decorated.replace("{type}","(W)");
break;
case QtCriticalMsg:
decorated.replace("{type}","CRITICAL");
decorated.replace("{type}","(C)");
break;
case QtFatalMsg:
decorated.replace("{type}","FATAL ");
decorated.replace("{type}","(F)");
break;
#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0))
case QtInfoMsg:
decorated.replace("{type}","INFO ");
decorated.replace("{type}","(I)");
break;
#endif
default: