Print Process ID and Thread ID as hex
This commit is contained in:
parent
df42100320
commit
2afc1060ef
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user