mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Update test_async.cpp
This commit is contained in:
parent
378a42c887
commit
6638c23cfc
@ -51,7 +51,7 @@ TEST_CASE("discard policy using factory ", "[async]")
|
||||
|
||||
auto logger = spdlog::create_async_nb<spdlog::sinks::test_sink_mt>("as2");
|
||||
auto test_sink = std::static_pointer_cast<spdlog::sinks::test_sink_mt>(logger->sinks()[0]);
|
||||
test_sink->set_delay(std::chrono::milliseconds(1));
|
||||
test_sink->set_delay(std::chrono::milliseconds(3));
|
||||
|
||||
for (size_t i = 0; i < messages; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user