aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet_manager.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-16 21:11:03 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-16 21:14:44 +0000
commit87c658f83b7160385806589a8750bbf005fb4d26 (patch)
tree80a837a7c3eeb7949be4ad82a8e07a544b6c302e /src/wallet/api/wallet_manager.cpp
parentMerge pull request #1585 (diff)
downloadmonero-87c658f83b7160385806589a8750bbf005fb4d26.tar.xz
wallet2_api: add API to set log categories
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet_manager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet_manager.cpp b/src/wallet/api/wallet_manager.cpp
index 12bce0285..904338a72 100644
--- a/src/wallet/api/wallet_manager.cpp
+++ b/src/wallet/api/wallet_manager.cpp
@@ -448,6 +448,11 @@ void WalletManagerFactory::setLogLevel(int level)
mlog_set_log_level(level);
}
+void WalletManagerFactory::setLogCategories(const std::string &categories)
+{
+ mlog_set_categories(categories.c_str());
+}
+
}