From: Bastiaan B. <Bas...@li...> - 2001-11-26 15:09:31
|
Hi everybody, =20 After many requests for more precise timestamps I've added a 'TimeStamp' class to replace the 'time_t' field in LoggingEvent. It has microsecond precision on platforms that have gettimeofday(), millisecond precision on platforms with ftime() and second precision on all others, using time().=20 If noone has serious objections I'll include the change in 0.2.6 as it won't afffect the average user who doesn't write his/her own Appenders. =20 Regards, =20 Bastiaan =20 PS I've tested the TimeStamp class only on a Linux machine using gettimeofday(). If it's utterly broken for ftime(), please scream & shout and/or fix it. Also the MSVC and Borland project files still need to be updated for it too. =20 =20 |