1
0
Fork 0

Enable debug logging in test builds

This commit is contained in:
Peter Bell 2020-05-15 14:05:43 +01:00 committed by Tiger Wang
parent 6dee68cb63
commit 89c9a7f563
1 changed files with 2 additions and 2 deletions

View File

@ -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(...)