logger: Fix missing TID for custom timestamp

Change-Id: I3f0015d5f492137592af5d6c247ca439dd75dd38
This commit is contained in:
Olivier Dion
2021-12-14 13:31:47 -05:00
parent 800dbaba99
commit 09359cdfb3

View File

@ -154,10 +154,12 @@ contextHeader(const char* const file, int line)
const auto prev_fill = out.fill(); const auto prev_fill = out.fill();
out << secs << '.' << std::right << std::setw(3) << std::setfill('0') << milli out << secs << '.' << std::right << std::setw(3) << std::setfill('0') << milli
<< std::left << '|' << std::right << std::setw(5) << std::setfill(' ') << tid << std::left; << std::left;
out.fill(prev_fill); out.fill(prev_fill);
} }
out << '|' << std::right << std::setw(5) << std::setfill(' ') << tid << std::left;
// Context // Context
if (file) { if (file) {
#ifdef RING_UWP #ifdef RING_UWP