Explorar el Código

Console output to stdout only for debug build

Thomas Buck hace 10 años
padre
commit
31d3c594f5
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      src/Console.cpp

+ 2
- 0
src/Console.cpp Ver fichero

@@ -73,7 +73,9 @@ void Console::print(const char *s, ...) {
73 73
 
74 74
     if (tmp != NULL) {
75 75
         mHistory.push_back(tmp);
76
+#ifdef DEBUG
76 77
         printf("%s\n", tmp);
78
+#endif
77 79
     }
78 80
 }
79 81
 

Loading…
Cancelar
Guardar