Stop log warning on wfserver

half-duplex
Phil Taylor 2022-12-01 12:32:10 +00:00
rodzic 9367d605f4
commit f91dea47b5
2 zmienionych plików z 2 dodań i 5 usunięć

Wyświetl plik

@ -203,11 +203,7 @@ void messageHandler(QtMsgType type, const QMessageLogContext& context, const QSt
}
// Write to the output category of the message and the message itself
out << context.category << ": " << msg << "\n";
#ifdef BUILD_WFSERVER
std::cout << QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz ").toLocal8Bit().toStdString() << msg.toLocal8Bit().toStdString() << "\n";
#endif
text = out.readAll();
out.flush(); // Clear the buffered data
//mainwindow.handleLogText(test);
}
#endif

Wyświetl plik

@ -169,4 +169,5 @@ HEADERS += servermain.h \
ulaw.h \
tcpserver.h \
audiotaper.h \
keyboard.h
keyboard.h \
wfviewtypes.h