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

fixed log formatting

This commit is contained in:
Steffen Vogel 2015-05-06 11:40:02 +02:00
parent 411e02f034
commit 25d278ca4a
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@
/* The log level which is passed as first argument to print() */
#define DEBUG GRY("Debug")
#define INFO ""
#define WARN YEL("Warn")
#define WARN YEL("Warn ")
#define ERROR RED("Error")
/** Change log indention for current thread.

View file

@ -67,7 +67,7 @@ void log_vprint(const char *lvl, const char *fmt, va_list ap)
strap(buf, sizeof(buf), "%10.3f ", timespec_delta(&epoch, &ts));
/* Severity */
strap(buf, sizeof(buf), BLD("%-5s "), lvl);
strap(buf, sizeof(buf), BLD("%5s "), lvl);
/* Indention */
#ifdef __GNUC__