Replace TraceLog() function by TRACELOG macro

Added SUPPORT_TRACELOG_DEBUG config
This commit is contained in:
Ray
2020-02-03 19:13:24 +01:00
parent 40b73a8a91
commit cde26c743c
9 changed files with 402 additions and 389 deletions

View File

@@ -38,10 +38,11 @@
#if defined(SUPPORT_TRACELOG_DEBUG)
#define TRACELOGD(...) TraceLog(LOG_DEBUG, __VA_ARGS__)
#else
#define TRACELOGD(...) void(0)
#define TRACELOGD(...) (void)0
#endif
#else
#define TRACELOG(level, ...) void(0)
#define TRACELOG(level, ...) (void)0
#define TRACELOGD(...) (void)0
#endif
//----------------------------------------------------------------------------------