Commit Graph

419 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}"
4 years ago
Andrey Bugaevskiy 5ee969e4f6 Fix fopen_s error reporting with PREVENT_CHILD_FD 4 years ago
gabime c432fdd987 Bump fmt to version 8.1.1 and run clang-format 4 years ago
gabime 5b03dc1796 Throw if rotating_file_sink constructor receives max_size==0 as arg 4 years ago
Gabi Melman ad08f13aac Update test_file_helper.cpp 4 years ago
Gabi Melman 6638c23cfc Update test_async.cpp 4 years ago
Gabi Melman 378a42c887 Update test_file_helper.cpp 4 years ago
Gabi Melman 9abcf38b90 Update test_file_helper.cpp 4 years ago
gabime 8715f51c61 Fixed file_event_handlers test for windows 4 years ago
gabime 37cbab363e updated file_event_handlers tests 4 years ago
gabime afdcfc710e Updated file_event_handlers tests 4 years ago
gabime 16bc6d04ad Added file event handlers test 4 years ago
Gabi Melman 1f58535920 Fixed test_macros tests 4 years ago
Gabi Melman ca1eaedf7b
Update test_daily_logger.cpp 4 years ago
Gabi Melman 8bd5f4f883
Update test_daily_logger.cpp 4 years ago
gabime dc030ec53c clang-format 4 years ago
Charles Milette 484bf07379
Fix test_fmt_helper 4 years ago
Charless Milette ba120e524b Add unit test for daily_filename_format_calculator 4 years ago
Charless Milette 2d77ef92b0 Avoid specializing std::formatter for std::tm (not a great idea after all) 4 years ago
Charless Milette f6901606f5 Add std::tm formatter, fix spdlog::stopwatch formatter, conditionally use fmt::runtime in test_errors 4 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib 4 years ago
Your Full Name d54b8e89c0 fixed #2058 by updating catch2 to v2.13.7 4 years ago
dkavolis d8f13cbd5b replace FormatString template argument with fmt::basic_format_string 4 years ago
gabime e7e8b75a4c clang-format 4 years ago
gabime 0035a0c98d Fixed dup sink compile warnings in older compilers with back_inserter 4 years ago
gabime 7b14a65b2b Fixed format_to deprecated warning by wrapping the buffer with std::back_inserter 4 years ago
Gabi Melman f2d1d573f5
Fix #1967 4 years ago
steven lunt ab72de5f7a Revert "added spdlog::level::set_string_view to enable alternate log level names without changing the build via SPDLOG_LEVEL_NAMES"
This reverts commit 2a16d1d230.
4 years ago
steven lunt 2a16d1d230 added spdlog::level::set_string_view to enable alternate log level names without changing the build via SPDLOG_LEVEL_NAMES 5 years ago
Charles Milette 9e19012cb0
Remove filename_memory_buf_t from headers 5 years ago
Charles Milette f0a4ddd78b
Fix character issues in test_errors.cpp 5 years ago
Charles Milette c691769e46
Fix other build errors and unit tests 5 years ago
Charles Milette 19dc30567e
Fix build errors 5 years ago
Charles Milette a453bccff0
Better support for / separators on Windows, improve wchar filename coverage 5 years ago
ryan-rsm-mckenzie 030d85a9b3 ensure stdout color sinks do not leak windows headers with SPDLOG_COMPILED_LIB 5 years ago
Francesco Biscani fc1ce48dc7 Increase sleep time on a test case to avoid spurious failures. 5 years ago
gabime 3bed78356e Added cfg tests 5 years ago
gabime 8923922f30 Cleaned level loading from env var 5 years ago
gabime 231ca50700 clang-format 5 years ago
gabime 1ac2dcc537 wip fix #1680 again 5 years ago
gabime 3a68eecb28 Fix issue #1680 5 years ago
gabime 32b6f1619f Added tests for issue #1680 5 years ago
gabime 934a9bb23e Fix issue #1617 5 years ago
gabime d6329b9dce Added some stopwatch tests 5 years ago
gabime cd701761f9 clang-format 5 years ago
Raul Tambre 76cdeb62e3 Don't enable C language in CMake
spdlog doesn't seem to actually require the C language.
Not enabling it results in a significant initial configure time speedup.
5 years ago
Raul Tambre ae9627c64c Raise CMake requirement to 3.13
* Reduces the range of possible version we'd need to test with.
* Enables newer policies reducing possible deprecation warnings from new policies.
* Allows removing some code for compatibility with older versions.
* Coincides with LLVM's bump to requiring CMake 3.13.
5 years ago
Konstantin Podsvirov 075dcee042 Twice tolerance waiting time with MinGW
Increased tolerance waiting time for MinGW in dequeue-empty-nowait test
case, because this test case not passed on slow and powerful computers.
5 years ago
gabime a0dae55a69 Revert 7f15fb2a21 since it breaks the ABI 5 years ago
Tamas Florin 071206ef59 Add support for custom filename calculator in rotating_file_sink. 5 years ago