aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/misc_log_ex.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-04 12:33:03 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-04 12:33:03 +0000
commitcd34fc655d5bf4ed5d9425222b78a771b7a55294 (patch)
tree1192907b0dee5ecea635d63ccbcf8cd5d2ca75e3 /contrib/epee/include/misc_log_ex.h
parentMerge pull request #1663 (diff)
downloadmonero-cd34fc655d5bf4ed5d9425222b78a771b7a55294.tar.xz
Use easylogging++'s stack trace facility where possible
This avoids using libunwind, which often causes trouble.
Diffstat (limited to 'contrib/epee/include/misc_log_ex.h')
-rw-r--r--contrib/epee/include/misc_log_ex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/epee/include/misc_log_ex.h b/contrib/epee/include/misc_log_ex.h
index f04282438..fbfd6941f 100644
--- a/contrib/epee/include/misc_log_ex.h
+++ b/contrib/epee/include/misc_log_ex.h
@@ -51,8 +51,9 @@
#define ELPP_THREAD_SAFE
#define ELPP_DEFAULT_LOG_FILE ""
-#define ELPP_STACKTRACE 0
+#define ELPP_STACKTRACE_ON_CRASH 0
#define ELPP_DISABLE_DEFAULT_CRASH_HANDLING
+#define ELPP_FEATURE_CRASH_LOG 1
#define ELPP_DISABLE_CHECK_MACROS
#include "easylogging++.h"