mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 02:39:26 -05:00
easylogging++: do not disable DEBUG level based on _DEBUG/NDEBUG
This commit is contained in:
parent
7a56fd6c93
commit
1e6d875783
4
external/easylogging++/easylogging++.h
vendored
4
external/easylogging++/easylogging++.h
vendored
@ -290,11 +290,11 @@ ELPP_INTERNAL_DEBUGGING_OUT_INFO << ELPP_INTERNAL_DEBUGGING_MSG(internalInfoStre
|
|||||||
(ELPP_COMPILER_GCC || ELPP_COMPILER_CLANG || ELPP_COMPILER_INTEL || (ELPP_COMPILER_MSVC && _MSC_VER >= 1800))
|
(ELPP_COMPILER_GCC || ELPP_COMPILER_CLANG || ELPP_COMPILER_INTEL || (ELPP_COMPILER_MSVC && _MSC_VER >= 1800))
|
||||||
// Logging Enable/Disable macros
|
// Logging Enable/Disable macros
|
||||||
#define ELPP_LOGGING_ENABLED (!defined(ELPP_DISABLE_LOGS))
|
#define ELPP_LOGGING_ENABLED (!defined(ELPP_DISABLE_LOGS))
|
||||||
#if (!defined(ELPP_DISABLE_DEBUG_LOGS) && (ELPP_LOGGING_ENABLED) && ((defined(_DEBUG)) || (!defined(NDEBUG))))
|
#if (!defined(ELPP_DISABLE_DEBUG_LOGS) && (ELPP_LOGGING_ENABLED))
|
||||||
# define ELPP_DEBUG_LOG 1
|
# define ELPP_DEBUG_LOG 1
|
||||||
#else
|
#else
|
||||||
# define ELPP_DEBUG_LOG 0
|
# define ELPP_DEBUG_LOG 0
|
||||||
#endif // (!defined(ELPP_DISABLE_DEBUG_LOGS) && (ELPP_LOGGING_ENABLED) && ((defined(_DEBUG)) || (!defined(NDEBUG))))
|
#endif // (!defined(ELPP_DISABLE_DEBUG_LOGS) && (ELPP_LOGGING_ENABLED))
|
||||||
#if (!defined(ELPP_DISABLE_INFO_LOGS) && (ELPP_LOGGING_ENABLED))
|
#if (!defined(ELPP_DISABLE_INFO_LOGS) && (ELPP_LOGGING_ENABLED))
|
||||||
# define ELPP_INFO_LOG 1
|
# define ELPP_INFO_LOG 1
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user