spdlog icon indicating copy to clipboard operation
spdlog copied to clipboard

Rotating Daily Logger

Open jlhorner1974 opened this issue 9 years ago • 0 comments

I have a need to have a logger which rotates files daily, but keeps only the last X files, as in the case of the rotating file logger.

The use case here is that some of the log files can get really, really huge. The daily logger will create a new file each day, but it doesn't do any cleanup, that I can see. The rotating logger does the cleanup, but will only trigger creating a new file when the size limit is reached.

jlhorner1974 avatar Dec 13 '16 21:12 jlhorner1974