Commit Graph

37 Commits (6cbddcba39e871be2f58fffdd0546b480e41f24e)

Author SHA1 Message Date
gabime 6cbddcba39 Fix tests 9 months ago
gabime 924ffc4fbd Fix tests 9 months ago
gabime 374a05026c Updated async tests 9 months ago
gabime 8d4943789c wip1 9 months ago
Gabi Melman 166843ff3a
V2.x no reg (#3285)
Removed registry
9 months ago
gabime c539f36551 clang format 2 years ago
gabime 77b07b3a10 clang format 2 years ago
gabime 6dffd7c6e8 update clang format again 2 years ago
gabime dcd5904bdc Updated clang-format
Merged with origin
2 years ago
Yubin b5b5043d42
Support async_overflow_policy::discard_new (#2876)
Reason for the discard_new policy: when there is an overflow, there
is usually some unexpected issue (a bug, or some other unexpected stuff).
And in case of unexpected issue, the first arrived log messages are usually
more important than subsequent ones. For example, some application
keep logging error messages in case of functionality failure, which,
when using async_overflow_policy::overrun_oldest, will overrun the
first arrived messages that may contain real reason for the failure.
2 years ago
gabime 1fba68bfe2 Catch exceptions from async logger. Fix #2618 2 years ago
Gabi Melman 6638c23cfc Update test_async.cpp 4 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib 4 years ago
Charles Milette 19dc30567e
Fix build errors 5 years ago
Francesco Biscani fc1ce48dc7 Increase sleep time on a test case to avoid spurious failures. 5 years ago
gabime b2017f5653 Fixed multiple clang-tidy warnings 5 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
Luiz Siqueira c543985cf4 use size_t instead of int for overrun counter 7 years ago
Luiz Siqueira 863f704f47 increment counter every time we overrid a message in async mode. 7 years ago
gabime 530e209f66 Fixed async tests to pass TASN checks 7 years ago
gabime 9e4925eff0 clang format 7 years ago
gabime a96b4d7529 Added periodic flusher support, and fixed some registry issues 7 years ago
gabime 683dc0b216 Added async test to tests 7 years ago
gabime 989a10e48b Added async test to tests 7 years ago
gabime 2dfea6bee3 Fixed tests under windows 7 years ago
gabime 7ed8e1b59d renamed async block policy 7 years ago
gabime cd4dcbab36 Renamed simple_file_sink -> basic_file_sink 7 years ago
gabime 94a7152afc async queue - overrun oldsest policy option 7 years ago
gabime 4b9949de7b format 7 years ago
gabime 7815d39807 removed wait_empty() from tp and q 7 years ago
gabime ef5c4f027c added tp getter to async api 7 years ago
gabime 8338b45b2b added tp->wait_empty() 7 years ago
gabime 0d0a841e8d format 7 years ago
gabime 31ff43ef81 more async tests 7 years ago
gabime 0d7a1d1ef9 format 7 years ago
gabime b9d7c45e40 Use blocking queue 7 years ago