mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:17:35 +00:00
AK: Make dbgln log the thread ID
This makes debugging multi-threaded programs easier.
This commit is contained in:
parent
3d4afe7614
commit
ad688ffc73
1 changed files with 1 additions and 1 deletions
|
@ -645,7 +645,7 @@ void vdbgln(StringView fmtstr, TypeErasedFormatParams params)
|
||||||
got_process_name = TriState::False;
|
got_process_name = TriState::False;
|
||||||
}
|
}
|
||||||
if (got_process_name == TriState::True)
|
if (got_process_name == TriState::True)
|
||||||
builder.appendff("\033[33;1m{}({})\033[0m: ", process_name_buffer, getpid());
|
builder.appendff("\033[33;1m{}({}:{})\033[0m: ", process_name_buffer, getpid(), gettid());
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue