When logging function names, align to 32 characters

This commit is contained in:
Robert Schmidt
2025-11-14 17:09:07 +01:00
parent ea1aa382c3
commit 875ec96fce
+2 -1
View File
@@ -604,12 +604,13 @@ static inline int log_header(log_component_t *c,
return snprintf(log_buffer,
buffsize,
"%s%s%s%-8s%s%s%s",
"%s%s%s%-8s%s%-*s%s",
flag & FLAG_NOCOLOR ? "" : log_level_highlight_start[level],
timeString,
threadIdString,
c->headerName,
g_log->level2string[level], // will print space if no level selected
l[0] == 0 ? 0 : 32,
l,
threadname);
}