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 似乎有一个trancute构造basic_file_sink_mt,但除此之外,似乎没有可以调用的方法来清除文件。我目前的解决方法是重建basic_file_sink_mt对象以便trancute调用,但这并不理想,因为我也必须重置它的级别。库是否支持任何其他方式来清除我错过的记录器正在写入的文件?
trancute
basic_file_sink_mt
谢谢