diff --git a/src/utils.h b/src/utils.h index 31c54aa5e..94414c059 100644 --- a/src/utils.h +++ b/src/utils.h @@ -32,6 +32,18 @@ #include // Required for: AAssetManager #endif +#if defined(SUPPORT_TRACELOG) + #define TRACELOG(level, ...) TraceLog(level, __VA_ARGS__) + + #if defined(SUPPORT_TRACELOG_DEBUG) + #define TRACELOGD(...) TraceLog(LOG_DEBUG, __VA_ARGS__) + #else + #define TRACELOGD(...) void(0) + #endif +#else + #define TRACELOG(level, ...) void(0) +#endif + //---------------------------------------------------------------------------------- // Some basic Defines //----------------------------------------------------------------------------------