mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
Updated bench.cpp
This commit is contained in:
parent
ca2724d82e
commit
f766b6d882
@ -84,9 +84,9 @@ int main(int argc, char *argv[])
|
||||
for (int i = 0; i < 3; ++i)
|
||||
{
|
||||
spdlog::init_thread_pool(queue_size, 1);
|
||||
auto as = spdlog::basic_logger_mt<spdlog::async_factory>("as", "logs/basic_async.log", true);
|
||||
auto as = spdlog::basic_logger_mt<spdlog::async_factory>("async", "logs/basic_async.log", true);
|
||||
bench_mt(howmany, as, threads);
|
||||
spdlog::drop("as");
|
||||
spdlog::drop("async");
|
||||
}
|
||||
}
|
||||
catch (std::exception &ex)
|
||||
|
Loading…
Reference in New Issue
Block a user