[core] Fix logger color formatting

This commit is contained in:
Kuba Szczodrzyński
2022-06-04 13:37:29 +02:00
parent a661ef3a3f
commit 0e797e7e04

View File

@@ -94,12 +94,11 @@ void lt_log(const uint8_t level, const char *format, ...) {
"%s%c "
#endif
,
levels[level]
#if LT_LOGGER_COLOR
,
c_bright, // whether text is bright
c_value // text color
c_value, // text color
#endif
levels[level]
#if LT_LOGGER_TIMESTAMP
,
seconds // float