print logs on console

This commit is contained in:
pazos 2018-05-08 18:22:21 +02:00
parent 7283fe41c2
commit 15155f2db8

View file

@ -123,7 +123,7 @@ int main(int argc, char *argv[])
// Log settings // Log settings
const QString logPath = getLogPath(parser.value(logPathOption)); const QString logPath = getLogPath(parser.value(logPathOption));
Monero::Wallet::init(argv[0], "monero-wallet-gui", logPath.toStdString().c_str()); Monero::Wallet::init(argv[0], "monero-wallet-gui", logPath.toStdString().c_str(), true);
qInstallMessageHandler(messageHandler); qInstallMessageHandler(messageHandler);