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:
parent
f23ef963a6
commit
3aa0fe1796
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue