forked from Public/monero-gui
log qt/qml to easylogging, add --log-file cmdline option
This commit is contained in:
@@ -722,17 +722,6 @@ QString Wallet::getDaemonLogPath() const
|
||||
return QString::fromStdString(m_walletImpl->getDefaultDataDir()) + "/bitmonero.log";
|
||||
}
|
||||
|
||||
QString Wallet::getWalletLogPath() const
|
||||
{
|
||||
const QString filename("monero-wallet-gui.log");
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
return QStandardPaths::standardLocations(QStandardPaths::HomeLocation).at(0) + "/Library/Logs/" + filename;
|
||||
#else
|
||||
return QCoreApplication::applicationDirPath() + "/" + filename;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Wallet::blackballOutput(const QString &pubkey)
|
||||
{
|
||||
QList<QString> list;
|
||||
|
||||
@@ -50,7 +50,6 @@ class Wallet : public QObject
|
||||
Q_PROPERTY(QString secretSpendKey READ getSecretSpendKey)
|
||||
Q_PROPERTY(QString publicSpendKey READ getPublicSpendKey)
|
||||
Q_PROPERTY(QString daemonLogPath READ getDaemonLogPath CONSTANT)
|
||||
Q_PROPERTY(QString walletLogPath READ getWalletLogPath CONSTANT)
|
||||
Q_PROPERTY(quint64 walletCreationHeight READ getWalletCreationHeight WRITE setWalletCreationHeight NOTIFY walletCreationHeightChanged)
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user