mirror of
https://github.com/monero-project/monero.git
synced 2025-07-27 16:25:32 -04:00
Wallet API: allow log path to be non-default & console output to be configurable
This commit is contained in:
parent
6b9d9f56a1
commit
b13bddc3c9
2 changed files with 4 additions and 3 deletions
|
@ -556,7 +556,8 @@ struct Wallet
|
|||
}
|
||||
static uint64_t maximumAllowedAmount();
|
||||
// Easylogger wrapper
|
||||
static void init(const char *argv0, const char *default_log_base_name);
|
||||
static void init(const char *argv0, const char *default_log_base_name) { init(argv0, default_log_base_name, "", true); }
|
||||
static void init(const char *argv0, const char *default_log_base_name, const std::string &log_path, bool console);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue