plog icon indicating copy to clipboard operation
plog copied to clipboard

Time based rolling file appender

Open davide-prade opened this issue 7 years ago • 6 comments

Hi, I needed a time based rolling file appender. I attach the modified files to achieve this functionality.

I ask you to review it and to include in the next version on plog with the all related adjustments.

plog.zip

davide-prade avatar May 09 '17 08:05 davide-prade

Here an example of initialization: plog::TimedRollingFileAppender<plog::TxtFormatter> fileAppender("test.log", "test.log.%Y%m%d-%H%M");

davide-prade avatar May 09 '17 10:05 davide-prade

Hi!

I was thinking about such appender. Thank you for participation.

SergiusTheBest avatar May 09 '17 15:05 SergiusTheBest

This update has been done?

xjw0118 avatar Sep 14 '20 07:09 xjw0118

hi friend, it's been 4 years, haven't updated yet? Too lazy, work hard!

jwcpp avatar Jun 30 '21 06:06 jwcpp