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:
parent
411e02f034
commit
25d278ca4a
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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__
|
||||
|
|
Loading…
Add table
Reference in a new issue