Changeset 302:d46b454ccc33 in freeDiameter
- Timestamp:
- May 13, 2010, 5:25:27 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfreeDiameter.h
r258 r302 211 211 The general debug macro, each call results in two lines of debug messages (change the macro for more compact output) 212 212 *************/ 213 #ifdef DEBUG 214 /* In DEBUG mode, we add (a lot of) meta-information along each trace. This makes multi-threading problems easier to debug. */ 213 215 #define TRACE_DEBUG(level,format,args... ) { \ 214 216 if ( TRACE_BOOL(level) ) { \ … … 221 223 } \ 222 224 } 225 #else /* DEBUG */ 226 /* Do not print thread, function, ... only the message itself in this case. */ 227 #define TRACE_DEBUG(level,format,args... ) { \ 228 if ( TRACE_BOOL(level) ) { \ 229 fd_log_debug(format "\n", ## args); \ 230 } \ 231 } 232 #endif /* DEBUG */ 223 233 224 234 /*************
Note: See TracChangeset
for help on using the changeset viewer.