mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 08:18:55 +00:00
easylogging++: add ELPP_DISABLE_CHECK_MACROS
This commit is contained in:
parent
6fe39d9017
commit
3b46617bd9
2
external/easylogging++/easylogging++.h
vendored
2
external/easylogging++/easylogging++.h
vendored
@ -6687,6 +6687,7 @@ if (ELPP_DEBUG_LOG) C##LEVEL##_EVERY_N(el::base::Writer, n, el::base::DispatchAc
|
|||||||
#define DLOG_N_TIMES(n, LEVEL) DCLOG_N_TIMES(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID)
|
#define DLOG_N_TIMES(n, LEVEL) DCLOG_N_TIMES(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID)
|
||||||
#define DVLOG_N_TIMES(n, vlevel) DCVLOG_N_TIMES(n, vlevel, ELPP_CURR_FILE_LOGGER_ID)
|
#define DVLOG_N_TIMES(n, vlevel) DCVLOG_N_TIMES(n, vlevel, ELPP_CURR_FILE_LOGGER_ID)
|
||||||
// Check macros
|
// Check macros
|
||||||
|
#if !defined(ELPP_DISABLE_CHECK_MACROS)
|
||||||
#undef CCHECK
|
#undef CCHECK
|
||||||
#undef CPCHECK
|
#undef CPCHECK
|
||||||
#undef CCHECK_EQ
|
#undef CCHECK_EQ
|
||||||
@ -6795,6 +6796,7 @@ if (ELPP_DEBUG_LOG) C##LEVEL##_EVERY_N(el::base::Writer, n, el::base::DispatchAc
|
|||||||
#define DCHECK_STRCASEEQ(str1, str2) DCCHECK_STRCASEEQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID)
|
#define DCHECK_STRCASEEQ(str1, str2) DCCHECK_STRCASEEQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID)
|
||||||
#define DCHECK_STRCASENE(str1, str2) DCCHECK_STRCASENE(str1, str2, ELPP_CURR_FILE_LOGGER_ID)
|
#define DCHECK_STRCASENE(str1, str2) DCCHECK_STRCASENE(str1, str2, ELPP_CURR_FILE_LOGGER_ID)
|
||||||
#define DPCHECK(condition) DCPCHECK(condition, ELPP_CURR_FILE_LOGGER_ID)
|
#define DPCHECK(condition) DCPCHECK(condition, ELPP_CURR_FILE_LOGGER_ID)
|
||||||
|
#endif // define(ELPP_DISABLE_CHECK_MACROS)
|
||||||
#if defined(ELPP_DISABLE_DEFAULT_CRASH_HANDLING)
|
#if defined(ELPP_DISABLE_DEFAULT_CRASH_HANDLING)
|
||||||
# define ELPP_USE_DEF_CRASH_HANDLER false
|
# define ELPP_USE_DEF_CRASH_HANDLER false
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user