Changeset 1237:b255ba44f59c in freeDiameter for include/freeDiameter/libfdproto.h
- Timestamp:
- Nov 2, 2013, 11:27:34 PM (10 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdproto.h
r1230 r1237 296 296 297 297 /* In DEBUG mode, we add meta-information along each trace. This makes multi-threading problems easier to debug. */ 298 #if def DEBUG298 #if (defined(DEBUG) && !defined(DEBUG_WITHOUT_META)) 299 299 # define STD_TRACE_FMT_STRING "pid:%s in %s@%s:%d: " 300 300 # define STD_TRACE_FMT_ARGS , ((char *)pthread_getspecific(fd_log_thname) ?: "unnamed"), __PRETTY_FUNCTION__, __STRIPPED_FILE__, __LINE__ 301 #else /* DEBUG */301 #else /* DEBUG && !DEBUG_WITHOUT_META */ 302 302 # define STD_TRACE_FMT_STRING "" 303 303 # define STD_TRACE_FMT_ARGS 304 #endif /* DEBUG */304 #endif /* DEBUG && !DEBUG_WITHOUT_META */ 305 305 306 306 /*************************
Note: See TracChangeset
for help on using the changeset viewer.