Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
spdlog可以通过以下方式登录threadid:
spdlog
threadid
spdlog::set_pattern("*** [%H:%M:%S %z] [thread %t] %v ***");
但是我怎样才能记录pid(process id)?
pid(process id)
使用 %P 标志的最新版本已经支持这一点。