Browse Source

Corrected TraceLog issue

Ray 8 years ago
parent
commit
0a33fbf8bb
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/utils.c

+ 5 - 5
src/utils.c

@@ -44,6 +44,9 @@
 *
 **********************************************************************************************/
 
+#define SUPPORT_TRACELOG            // Output tracelog messages
+//#define SUPPORT_TRACELOG_DEBUG     // Avoid DEBUG messages tracing
+
 #include "utils.h"
 
 #if defined(PLATFORM_ANDROID)
@@ -65,9 +68,6 @@
 #define RRES_IMPLEMENTATION
 #include "rres.h"
 
-//#define NO_TRACELOG                 // Avoid TraceLog() output (any type)
-#define DO_NOT_TRACE_DEBUG_MSGS     // Avoid DEBUG messages tracing
-
 //----------------------------------------------------------------------------------
 // Global Variables Definition
 //----------------------------------------------------------------------------------
@@ -94,10 +94,10 @@ void TraceLog(int msgType, const char *text, ...)
 {
 #if defined(SUPPORT_TRACELOG)
     static char buffer[128];
-    int traceDebugMsgs = 1;
+    int traceDebugMsgs = 0;
     
 #if defined(SUPPORT_TRACELOG_DEBUG)
-    traceDebugMsgs = 0;
+    traceDebugMsgs = 1;
 #endif
 
     switch(msgType)