debug: remove function and line

Generally we know where our own debug lines are coming from and it ends up causing a really long debug string.
This commit is contained in:
itsmattkc
2022-12-08 11:25:31 -08:00
parent 55d51a1ee5
commit b99d1e5797
+2 -1
View File
@@ -45,7 +45,8 @@ void DebugHandler(QtMsgType type, const QMessageLogContext &context, const QStri
break;
}
fprintf(stderr, "[%s] %s (%s:%u)\n", msg_type, localMsg.constData(), context.function, context.line);
//fprintf(stderr, "[%s] %s (%s:%u)\n", msg_type, localMsg.constData(), context.function, context.line);
fprintf(stderr, "[%s] %s\n", msg_type, localMsg.constData());
#ifdef Q_OS_WINDOWS
// Windows still seems to buffer stderr and we want to see debug messages immediately, so here we make sure each line