在上一节的代码中加入了向文本文件中写入日志的代码: UINT CMFCApplication1Dlg::Thread1(LPVOID pParam) { try{ size_t q_size = ; //queue size must be power of 2 spdlog::set_async_mode(q_size, spdlog::async_overflow_policy::block_retry); auto console = spd::stdout_color_st("conso