mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
bench fix
This commit is contained in:
parent
8dcec193e8
commit
c215ee6104
@ -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);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user