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
1 changed files with 2 additions and 2 deletions

View File

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