Changeset 3480 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 10, 2005, 8:23:23 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/defs/debug.h
r3475 r3480 23 23 24 24 #define NO 0 25 #define ERR OR126 #define WARN ING227 #define INFO RMATION325 #define ERR 1 26 #define WARN 2 27 #define INFO 3 28 28 #define DEBUGING 4 29 29 … … 43 43 PRINTF ## x 44 44 45 #if DEBUG >= ERR OR45 #if DEBUG >= ERR 46 46 #define PRINTF1 \ 47 if (verbose >= ERR OR) \47 if (verbose >= ERR) \ 48 48 printf("%s:%d::ERROR:", __FILE__, __LINE__) && printf 49 49 #else … … 51 51 #endif 52 52 53 #if DEBUG >= WARN ING53 #if DEBUG >= WARN 54 54 #define PRINTF2 \ 55 if (verbose >= WARN ING) \55 if (verbose >= WARN) \ 56 56 printf("%s:%d::WARNING:", __FILE__, __LINE__) && printf 57 57 … … 60 60 #endif 61 61 62 #if DEBUG >= INFO RMATION62 #if DEBUG >= INFO 63 63 #define PRINTF3 \ 64 if (verbose >= INFO RMATION) \64 if (verbose >= INFO) \ 65 65 printf("%s:%d::INFO:", __FILE__, __LINE__) && printf 66 66 #else … … 93 93 PRINT ## x 94 94 95 #if DEBUG >= ERR OR95 #if DEBUG >= ERR 96 96 #define PRINT1 \ 97 if (verbose >= ERR OR) \97 if (verbose >= ERR) \ 98 98 printf 99 99 #else … … 101 101 #endif 102 102 103 #if DEBUG >= WARN ING103 #if DEBUG >= WARN 104 104 #define PRINT2 \ 105 if (verbose >= WARN ING) \105 if (verbose >= WARN) \ 106 106 printf 107 107 … … 110 110 #endif 111 111 112 #if DEBUG >= INFO RMATION112 #if DEBUG >= INFO 113 113 #define PRINT3 \ 114 if (verbose >= INFO RMATION) \114 if (verbose >= INFO) \ 115 115 printf 116 116 #else
Note: See TracChangeset
for help on using the changeset viewer.