diff include/freeDiameter/libfdproto.h @ 1243:7c5f662c4eef

Shortened log timestamp format when DEBUG_WITHOUT_META is defined
author Sebastien Decugis <sdecugis@freediameter.net>
date Mon, 11 Nov 2013 14:55:10 +0800
parents b25ca6134bdc
children c9a160b815ea
line wrap: on
line diff
--- a/include/freeDiameter/libfdproto.h	Mon Nov 11 14:42:02 2013 +0800
+++ b/include/freeDiameter/libfdproto.h	Mon Nov 11 14:55:10 2013 +0800
@@ -182,6 +182,8 @@
  *  ts	 	: The timestamp to log, or NULL for "now"
  *  buf 	: An array where the time must be stored
  *  len		: size of the buffer
+ *  incl_date   : The day of year is included in the output
+ *  incl_ms     : millisecond value is included in the output
  *
  * DESCRIPTION: 
  *  Writes the timestamp (in human readable format) in a buffer. 
@@ -189,7 +191,7 @@
  * RETURN VALUE:
  *  pointer to buf.
  */
-char * fd_log_time ( struct timespec * ts, char * buf, size_t len );
+char * fd_log_time ( struct timespec * ts, char * buf, size_t len, int incl_date, int incl_ms );
 
 /*
  * FUNCTION:    fd_log_handler_register
"Welcome to our mercurial repository"