@@ -64,21 +64,21 @@ static void LogPrintfCategoryWithoutThreadNames(benchmark::Bench& bench)
6464 });
6565}
6666
67- static void LogPrintfWithThreadNames (benchmark::Bench& bench)
67+ static void LogWithThreadNames (benchmark::Bench& bench)
6868{
69- Logging (bench, {" -logthreadnames=1" }, [] { LogPrintf (" %s\n " , " test" ); });
69+ Logging (bench, {" -logthreadnames=1" }, [] { LogInfo (" %s\n " , " test" ); });
7070}
7171
72- static void LogPrintfWithoutThreadNames (benchmark::Bench& bench)
72+ static void LogWithoutThreadNames (benchmark::Bench& bench)
7373{
74- Logging (bench, {" -logthreadnames=0" }, [] { LogPrintf (" %s\n " , " test" ); });
74+ Logging (bench, {" -logthreadnames=0" }, [] { LogInfo (" %s\n " , " test" ); });
7575}
7676
7777static void LogWithoutWriteToFile (benchmark::Bench& bench)
7878{
7979 // Disable writing the log to a file, as used for unit tests and fuzzing in `MakeNoLogFileContext`.
8080 Logging (bench, {" -nodebuglogfile" , " -debug=1" }, [] {
81- LogPrintf (" %s\n " , " test" );
81+ LogInfo (" %s\n " , " test" );
8282 LogDebug (BCLog::NET, " %s\n " , " test" );
8383 });
8484}
@@ -89,6 +89,6 @@ BENCHMARK(LogWithDebug, benchmark::PriorityLevel::HIGH);
8989BENCHMARK (LogWithoutDebug, benchmark::PriorityLevel::HIGH);
9090BENCHMARK (LogPrintfCategoryWithThreadNames, benchmark::PriorityLevel::HIGH);
9191BENCHMARK (LogPrintfCategoryWithoutThreadNames, benchmark::PriorityLevel::HIGH);
92- BENCHMARK (LogPrintfWithThreadNames , benchmark::PriorityLevel::HIGH);
93- BENCHMARK (LogPrintfWithoutThreadNames , benchmark::PriorityLevel::HIGH);
92+ BENCHMARK (LogWithThreadNames , benchmark::PriorityLevel::HIGH);
93+ BENCHMARK (LogWithoutThreadNames , benchmark::PriorityLevel::HIGH);
9494BENCHMARK (LogWithoutWriteToFile, benchmark::PriorityLevel::HIGH);
0 commit comments