File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ struct daily_filename_format_calculator {
62
62
* Rotating file sink based on date.
63
63
* If truncate != false , the created file will be truncated.
64
64
* If max_files > 0, retain only the last max_files and delete previous.
65
+ * If max_files > 0, retain only the last max_files and delete previous.
66
+ * Note that old log files from previous executions will not be deleted by this class,
67
+ * rotation and deletion is only applied while the program is running.
65
68
*/
66
69
template <typename Mutex, typename FileNameCalc = daily_filename_calculator>
67
70
class daily_file_sink final : public base_sink<Mutex> {
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ struct hourly_filename_calculator {
39
39
* Rotating file sink based on time.
40
40
* If truncate != false , the created file will be truncated.
41
41
* If max_files > 0, retain only the last max_files and delete previous.
42
+ * Note that old log files from previous executions will not be deleted by this class,
43
+ * rotation and deletion is only applied while the program is running.
42
44
*/
43
45
template <typename Mutex, typename FileNameCalc = hourly_filename_calculator>
44
46
class hourly_file_sink final : public base_sink<Mutex> {
You can’t perform that action at this time.
0 commit comments