summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/LoggerSimple.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LoggerSimple.h b/src/LoggerSimple.h
index f8f1ee331..8e51ddedf 100644
--- a/src/LoggerSimple.h
+++ b/src/LoggerSimple.h
@@ -79,7 +79,7 @@ void LOGERROR(std::string_view a_Format, const Args & ... args)
// Macro variants
// In debug builds, translate LOGD to LOG, otherwise leave it out altogether:
-#ifdef _DEBUG
+#if defined(_DEBUG) || defined(TEST_GLOBALS)
#define LOGD LOG
#else
#define LOGD(...)
@@ -87,7 +87,7 @@ void LOGERROR(std::string_view a_Format, const Args & ... args)
#define LOGWARN LOGWARNING
-#ifdef _DEBUG
+#if defined(_DEBUG) || defined(TEST_GLOBALS)
#define FLOGD FLOG
#else
#define FLOGD(...)