1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

added more digits to timestamp output

git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@21 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
Steffen Vogel 2014-06-05 09:34:48 +00:00
parent f23ef963a6
commit 3aa0fe1796

View file

@ -28,7 +28,7 @@ void print(enum log_level lvl, const char *fmt, ...)
clock_gettime(CLOCK_REALTIME, &ts);
printf("%14.3f [%-7s] ", ts.tv_sec + ts.tv_nsec / 1e9, log_prefix[lvl]);
printf("%17.6f [%-7s] ", ts.tv_sec + ts.tv_nsec / 1e9, log_prefix[lvl]);
vprintf(fmt, ap);
printf("\n");