aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-05-21 20:56:20 +0200
committerRiccardo Spagni <ric@spagni.net>2018-05-21 20:56:20 +0200
commitd6cefbd1b8ad12c7e558a2c56abc788f2d8f8f00 (patch)
treee4404c469cbfdacbbc64bf74c6a6541fa8d9f08e /src/wallet/api/wallet2_api.h
parentMerge pull request #3814 (diff)
parentWallet API: allow log path to be non-default & console output to be configurable (diff)
downloadmonero-d6cefbd1b8ad12c7e558a2c56abc788f2d8f8f00.tar.xz
Merge pull request #3745
b13bddc3 Wallet API: allow log path to be non-default & console output to be configurable (stoffu)
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h3
1 files changed, 2 insertions, 1 deletions
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);