From 540c12c3464beb521de751100209f4fb6e95f304 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Thu, 18 Nov 2021 17:50:42 +0000 Subject: [PATCH] Log thread-id in hex --- log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.h b/log.h index bc68481..10ac378 100644 --- a/log.h +++ b/log.h @@ -90,7 +90,7 @@ class LogNT case CRIT: *outstream << " [CRIT] "; break; } - *outstream << " " << std::this_thread::get_id() << " " << TAG << " - "; + *outstream << " " << std::hex << std::this_thread::get_id() << std::dec << " " << TAG << " - "; try { -- 2.39.5