diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-03-14 13:35:53 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-03-14 13:35:53 +0200 |
commit | cfc5a3d4d480ebc7cbdb5c7964570947dc4f9b19 (patch) | |
tree | 02c2b62ca6a97c978026c2fba9b151d7cd319ecb /src/wallet/api/wallet2_api.h | |
parent | Merge pull request #3337 (diff) | |
parent | wallet2_api: add info/error/warning entry points (diff) | |
download | monero-cfc5a3d4d480ebc7cbdb5c7964570947dc4f9b19.tar.xz |
Merge pull request #3345
e0cda74a wallet2_api: add info/error/warning entry points (moneromooo-monero)
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index 36b3b9c9b..8f01e2055 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -556,7 +556,10 @@ struct Wallet static uint64_t maximumAllowedAmount(); // Easylogger wrapper static void init(const char *argv0, const char *default_log_base_name); - static void debug(const std::string &str); + static void debug(const std::string &category, const std::string &str); + static void info(const std::string &category, const std::string &str); + static void warning(const std::string &category, const std::string &str); + static void error(const std::string &category, const std::string &str); /** * @brief StartRefresh - Start/resume refresh thread (refresh every 10 seconds) |