Update bench.cpp

This commit is contained in:
Gabi Melman 2018-09-21 11:22:57 +03:00 committed by GitHub
parent a0ae62a733
commit 2e7b3cae2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ int main(int argc, char *argv[])
cout << "******************************************************************" cout << "******************************************************************"
"*************\n"; "*************\n";
auto basic_st = spdlog::basic_logger_mt("basic_st", "logs/basic_st.log", true); auto basic_st = spdlog::basic_logger_st("basic_st", "logs/basic_st.log", true);
bench(howmany, basic_st); bench(howmany, basic_st);
auto rotating_st = spdlog::rotating_logger_st("rotating_st", "logs/rotating_st.log", file_size, rotating_files); auto rotating_st = spdlog::rotating_logger_st("rotating_st", "logs/rotating_st.log", file_size, rotating_files);