From 7549116ec32bc05ff0729ba09a6ac67d3bee1913 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Sun, 5 Feb 2017 20:12:01 +0100 Subject: Wallet API: Easylogger wrapper for gui --- src/wallet/api/wallet.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/wallet/api') diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 830f98909..2524107c4 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -44,6 +44,9 @@ using namespace std; using namespace cryptonote; +#undef MONERO_DEFAULT_LOG_CATEGORY +#define MONERO_DEFAULT_LOG_CATEGORY "WalletAPI" + namespace Monero { namespace { @@ -255,6 +258,9 @@ uint64_t Wallet::maximumAllowedAmount() return std::numeric_limits::max(); } +void Wallet::debug(const std::string &str) { + MDEBUG(str); +} ///////////////////////// WalletImpl implementation //////////////////////// WalletImpl::WalletImpl(bool testnet) -- cgit v1.2.3