Skip to content

Commit

Permalink
[easylog] fix last_tid (alibaba#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
yinghaoyu authored May 29, 2024
1 parent 476b584 commit 9c7cffe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ylt/easylog/appender.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class appender {
auto [ptr, ec] = std::to_chars(buf + 1, buf + 21, tid);
buf[22] = ']';
buf[23] = ' ';
last_tid = tid;
last_len = ptr - buf;
buf[last_len++] = ']';
buf[last_len++] = ' ';
Expand Down

0 comments on commit 9c7cffe

Please sign in to comment.