]> git.vomp.tv Git - vompclient.git/commitdiff
Log thread-id in hex
authorChris Tallon <chris@vomp.tv>
Thu, 18 Nov 2021 17:50:42 +0000 (17:50 +0000)
committerChris Tallon <chris@vomp.tv>
Thu, 18 Nov 2021 17:50:42 +0000 (17:50 +0000)
log.h

diff --git a/log.h b/log.h
index bc684813243dc9a9939c0da5b615bc353781c309..10ac378f3b21b1aa2e7cf4b37f6063e22d541515 100644 (file)
--- 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
       {