Refactor: OutputDebugStringF -> LogPrint(category, ...)
This commit is contained in:
1 parent
b16e9f02c8
commit
e51321fb75
5 files changed
+16
-8
No files matched your search
+2
-2
@@ -155,12 +155,12 @@ static void initTranslations(QTranslator &qtTranslatorBase, QTranslator &qtTrans
|
||||
#if QT_VERSION < 0x050000
|
||||
void DebugMessageHandler(QtMsgType type, const char * msg)
|
||||
{
|
||||
OutputDebugStringF("Bitcoin-Qt: %s\n", msg);
|
||||
LogPrint("qt", "Bitcoin-Qt: %s\n", msg);
|
||||
}
|
||||
#else
|
||||
void DebugMessageHandler(QtMsgType type, const QMessageLogContext& context, const QString &msg)
|
||||
{
|
||||
OutputDebugStringF("Bitcoin-Qt: %s\n", qPrintable(msg));
|
||||
LogPrint("qt", "Bitcoin-Qt: %s\n", qPrintable(msg));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user