很不幸,你想做的是不可能的。您对spdlog::basic_logger_st的调用以here结束:
2 changes: 2 additions & 0 deletions 2 include/spdlog/sinks/hourly_file_sink.h Original file line numberDiff line numberDiff line change @@ -39,6 +39,8 @@ struct hourly_filename_calculator { * Rotating file sink based on time.