Don't print the TID in kmsg
This commit is contained in:
+1
-2
@@ -442,10 +442,9 @@ static void log_emit(log_fn_t callback, void* ctx, const struct log_record* rec,
|
|||||||
log_cb_printf(
|
log_cb_printf(
|
||||||
callback,
|
callback,
|
||||||
ctx,
|
ctx,
|
||||||
"[%5lu.%06lu] [%5lu] %s",
|
"[%5lu.%06lu] %s",
|
||||||
rec->time_ns / 1'000'000'000,
|
rec->time_ns / 1'000'000'000,
|
||||||
rec->time_ns / 1'000 % 1'000'000,
|
rec->time_ns / 1'000 % 1'000'000,
|
||||||
(uint64_t)rec->tid,
|
|
||||||
log_level_colors[rec->level]
|
log_level_colors[rec->level]
|
||||||
);
|
);
|
||||||
callback(ctx, msg, rec->len);
|
callback(ctx, msg, rec->len);
|
||||||
|
|||||||
Reference in New Issue
Block a user