mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 09:59:33 +08:00
bench fix
This commit is contained in:
@@ -138,7 +138,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, int thread_count
|
|||||||
{
|
{
|
||||||
int counter = ++msg_counter;
|
int counter = ++msg_counter;
|
||||||
if (counter > howmany) break;
|
if (counter > howmany) break;
|
||||||
log->info("Hello logger: msg number ") << counter;
|
log->info("Hello logger: msg number {}", counter);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user