From b13bddc3c9eac8775f89d220fed9351592e6194a Mon Sep 17 00:00:00 2001 From: stoffu Date: Wed, 2 May 2018 11:46:46 +0900 Subject: Wallet API: allow log path to be non-default & console output to be configurable --- src/wallet/api/wallet2_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wallet/api/wallet2_api.h') diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index 617b6035a..4fbc7298a 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -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); -- cgit v1.2.3