Mercurial > hg > freeDiameter
comparison include/freeDiameter/libfreeDiameter.h @ 206:8eda7c917fc6
cosmetics
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 12 Feb 2010 18:39:46 +0900 |
parents | ff9ade352076 |
children | 87c31fd10e9c |
comparison
equal
deleted
inserted
replaced
205:ff9ade352076 | 206:8eda7c917fc6 |
---|---|
188 if ( TRACE_BOOL(level) ) { \ | 188 if ( TRACE_BOOL(level) ) { \ |
189 char __buf[25]; \ | 189 char __buf[25]; \ |
190 char * __thn = ((char *)pthread_getspecific(fd_log_thname) ?: "unnamed"); \ | 190 char * __thn = ((char *)pthread_getspecific(fd_log_thname) ?: "unnamed"); \ |
191 fd_log_debug("\t | tid:%-20s\t%s\tin %s@%s:%d\n" \ | 191 fd_log_debug("\t | tid:%-20s\t%s\tin %s@%s:%d\n" \ |
192 "\t%s|%*s" format "\n", \ | 192 "\t%s|%*s" format "\n", \ |
193 __thn, fd_log_time(NULL, __buf, sizeof(__buf)), __PRETTY_FUNCTION__, __FILE__, __LINE__, \ | 193 __thn, fd_log_time(NULL, __buf, sizeof(__buf)), __PRETTY_FUNCTION__, __FILE__, __LINE__,\ |
194 (level < FULL)?"@":" ",level, "", ## args); \ | 194 (level < FULL)?"@":" ",level, "", ## args); \ |
195 } \ | 195 } \ |
196 } | 196 } |
197 | 197 |
198 /* Helper for function entry -- for very detailed trace of the execution */ | 198 /* Helper for function entry -- for very detailed trace of the execution */ |