- Timestamp:
- Oct 7, 2005, 12:53:31 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/defs/debug.h
r5183 r5299 112 112 #define PRINTF1 \ 113 113 if (SOFT_DEBUG_LEVEL >= ERR) \ 114 printf(" ERROR::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC114 printf("(EE)::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC 115 115 #else 116 116 #define PRINTF1 if (NO) … … 120 120 #define PRINTF2 \ 121 121 if (SOFT_DEBUG_LEVEL >= WARN) \ 122 printf(" WARNING::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC122 printf("(WW)::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC 123 123 124 124 #else … … 129 129 #define PRINTF3 \ 130 130 if (SOFT_DEBUG_LEVEL >= INFO) \ 131 printf(" INFO::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC131 printf("(II)::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC 132 132 #else 133 133 #define PRINTF3 if (NO) … … 137 137 #define PRINTF4 \ 138 138 if (SOFT_DEBUG_LEVEL >= DEBUG) \ 139 printf(" DEBUG::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC139 printf("(DD)::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC 140 140 #else 141 141 #define PRINTF4 if (NO) … … 145 145 #define PRINTF5 \ 146 146 if (SOFT_DEBUG_LEVEL >= vDEBUG) \ 147 printf(" VERYDEBUG::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC147 printf("(VD)::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC 148 148 #else 149 149 #define PRINTF5 if (NO) … … 208 208 #define PRINT5 \ 209 209 if (SOFT_DEBUG_LEVEL >= vDEBUG) \ 210 PRINT_EXEC ("VERYDEBUG::%s:%d:", __FILE__, __LINE__) && PRINT_EXEC210 PRINT_EXEC 211 211 #else 212 212 #define PRINT5 if (NO) -
trunk/src/lib/event/key_mapper.cc
r5298 r5299 191 191 { 192 192 *map[i].pValue = keyID; 193 PRINTF( 0)("Mapping %s to '%s' (id %i)\n", name, SDLKToKeyname(keyID), keyID);193 PRINTF(4)("Mapping %s to '%s' (id %i)\n", name, SDLKToKeyname(keyID), keyID); 194 194 break; 195 195 }
Note: See TracChangeset
for help on using the changeset viewer.