Enable debug logging in test builds
This commit is contained in:
parent
6dee68cb63
commit
89c9a7f563
@ -79,7 +79,7 @@ void LOGERROR(std::string_view a_Format, const Args & ... args)
|
|||||||
// Macro variants
|
// Macro variants
|
||||||
|
|
||||||
// In debug builds, translate LOGD to LOG, otherwise leave it out altogether:
|
// In debug builds, translate LOGD to LOG, otherwise leave it out altogether:
|
||||||
#ifdef _DEBUG
|
#if defined(_DEBUG) || defined(TEST_GLOBALS)
|
||||||
#define LOGD LOG
|
#define LOGD LOG
|
||||||
#else
|
#else
|
||||||
#define LOGD(...)
|
#define LOGD(...)
|
||||||
@ -87,7 +87,7 @@ void LOGERROR(std::string_view a_Format, const Args & ... args)
|
|||||||
|
|
||||||
#define LOGWARN LOGWARNING
|
#define LOGWARN LOGWARNING
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#if defined(_DEBUG) || defined(TEST_GLOBALS)
|
||||||
#define FLOGD FLOG
|
#define FLOGD FLOG
|
||||||
#else
|
#else
|
||||||
#define FLOGD(...)
|
#define FLOGD(...)
|
||||||
|
Loading…
Reference in New Issue
Block a user