gabime / spdlog

Fast C++ logging library.
Other
24.39k stars 4.55k forks source link

Can old files in the Rotating files feature be named by date? #3160

Closed bboxerxiaofeng closed 2 months ago

bboxerxiaofeng commented 2 months ago

Discussed in https://github.com/gabime/spdlog/discussions/3159

Originally posted by **bboxerxiaofeng** August 27, 2024 Currently, old files are suffixed with numbers, such as test.1.log test.2.log... Now I want to use the current log as the extension for the old file,such as test.2024-08-27.1.log , test.2024-08-27.2.log, What should I do?