From: Chris Tallon Date: Thu, 18 Nov 2021 17:50:42 +0000 (+0000) Subject: Log thread-id in hex X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=540c12c3464beb521de751100209f4fb6e95f304;p=vompclient.git Log thread-id in hex --- 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 {