Commit Graph

15 Commits (15425d849e010d3b42186d826f9448457b08b3a4)

Author SHA1 Message Date
Matheus Medeiros Sarmento 15425d849e Add new rotating file sink with different naming formation
This is a proposal for existing rotating file sink.
In this sink, files will be renamed appending the date in which they
were rotated, having so there is no file limit.
There is also a protection against multiple files rotating at the same time,
by appending ".{index}"
3 years ago
gabime 5b03dc1796 Throw if rotating_file_sink constructor receives max_size==0 as arg 4 years ago
Charless Milette 2d77ef92b0 Avoid specializing std::formatter for std::tm (not a great idea after all) 4 years ago
Charles Milette a453bccff0
Better support for / separators on Windows, improve wchar filename coverage 5 years ago
gabime b2017f5653 Fixed multiple clang-tidy warnings 5 years ago
gabime 5370443ece clang-format 6 years ago
Mario Emmenlauer 87acec6a91 Make tests support empty SPDLOG_EOL with new helper method require_message_count() 6 years ago
gabime 9b7812a0f2 auto create log dir 6 years ago
gabime 494cc8bace Implemented daily sink rotation #661 6 years ago
gabime 2eb52cd047 Unified usage of fmt::memory_buffer across the codebase 6 years ago
gabime 6b0bf33f8e clang-format 7 years ago
Philip Miller e41b92c55a fix inadvertent rename to original test function 7 years ago
Philip Miller 3925f8fa16 streamline constructor logic
and improve test for rotate_on_open=true
7 years ago
Philip Miller 4fe98bf6e6 Merge remote-tracking branch 'origin/v1.x' into pwm1234/rotate_on_open 7 years ago
gabime 2998815166 Added missing test file 7 years ago