mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fixed bench
This commit is contained in:
parent
11e9752536
commit
79334ca5ab
@ -116,7 +116,7 @@ int main(int argc, char *argv[])
|
|||||||
auto file_sink = std::make_shared<spdlog::sinks::basic_file_sink_mt>(filename, true);
|
auto file_sink = std::make_shared<spdlog::sinks::basic_file_sink_mt>(filename, true);
|
||||||
auto logger = std::make_shared<async_logger>("async_logger", std::move(file_sink), std::move(tp), async_overflow_policy::block);
|
auto logger = std::make_shared<async_logger>("async_logger", std::move(file_sink), std::move(tp), async_overflow_policy::block);
|
||||||
bench_mt(howmany, std::move(logger), threads);
|
bench_mt(howmany, std::move(logger), threads);
|
||||||
verify_file(filename, howmany);
|
//verify_file(filename, howmany);
|
||||||
}
|
}
|
||||||
|
|
||||||
spdlog::info("");
|
spdlog::info("");
|
||||||
|
Loading…
Reference in New Issue
Block a user