Changeset 22:0b3b46da2c12 in freeDiameter for include/freeDiameter/libfreeDiameter.h
- Timestamp:
- Oct 19, 2009, 6:43:09 PM (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfreeDiameter.h
r20 r22 120 120 * 121 121 * PARAMETERS: 122 * ts : The timestamp to log, or NULL for "now" 122 123 * buf : An array where the time must be stored 123 124 * len : size of the buffer 124 125 * 125 126 * DESCRIPTION: 126 * Writes the currenttimestamp (in human readable format) in a buffer.127 * Writes the timestamp (in human readable format) in a buffer. 127 128 * 128 129 * RETURN VALUE: 129 130 * pointer to buf. 130 131 */ 131 char * fd_log_time ( char * buf, size_t len );132 char * fd_log_time ( struct timespec * ts, char * buf, size_t len ); 132 133 133 134 … … 173 174 fd_log_debug("\t | tid:%-20s\t%s\tin %s@%s:%d\n" \ 174 175 "\t%s|%*s" format "\n", \ 175 __thn, fd_log_time( __buf, sizeof(__buf)), __PRETTY_FUNCTION__, __FILE__, __LINE__, \176 __thn, fd_log_time(NULL, __buf, sizeof(__buf)), __PRETTY_FUNCTION__, __FILE__, __LINE__, \ 176 177 (level < FULL)?"@":" ",level, "", ## args); \ 177 178 } \
Note: See TracChangeset
for help on using the changeset viewer.