Print Process ID and Thread ID as hex

This commit is contained in:
Chloe Marcec 2021-01-25 02:47:40 +11:00
parent df42100320
commit 2afc1060ef

View File

@ -253,8 +253,8 @@ private:
if (line_number && *line_number != 0) {
output_log += fmt::format("Line: {}\n", *line_number);
}
output_log += fmt::format("ProcessID: {}\n", entry.pid);
output_log += fmt::format("ThreadID: {}\n", entry.tid);
output_log += fmt::format("ProcessID: {:X}\n", entry.pid);
output_log += fmt::format("ThreadID: {:X}\n", entry.tid);
if (text_log) {
output_log += fmt::format("Log Text: {}\n", *text_log);