mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 20:06:32 +02:00
Merge pull request #1589
87c658f8
wallet2_api: add API to set log categories (moneromooo-monero)
This commit is contained in:
commit
d5fbba45e8
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -708,6 +708,7 @@ struct WalletManagerFactory
|
||||
|
||||
static WalletManager * getWalletManager();
|
||||
static void setLogLevel(int level);
|
||||
static void setLogCategories(const std::string &categories);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user