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

log: change alignment of log output

This commit is contained in:
Steffen Vogel 2017-08-22 12:13:38 +02:00
parent 9eeeb9493e
commit d40d0cd29e

View file

@ -267,7 +267,7 @@ void log_vprint(struct log *l, const char *lvl, const char *fmt, va_list ap)
strcatf(&buf, "%s", l->prefix);
/* Timestamp & Severity */
strcatf(&buf, "%10.3f %5s ", time_delta(&l->epoch, &ts), lvl);
strcatf(&buf, "%10.3f %-5s ", time_delta(&l->epoch, &ts), lvl);
/* Indention */
#ifdef __GNUC__