@@ -64,21 +64,21 @@ static void LogPrintfCategoryWithoutThreadNames(benchmark::Bench& bench)
64
64
});
65
65
}
66
66
67
- static void LogPrintfWithThreadNames (benchmark::Bench& bench)
67
+ static void LogWithThreadNames (benchmark::Bench& bench)
68
68
{
69
- Logging (bench, {" -logthreadnames=1" }, [] { LogPrintf (" %s\n " , " test" ); });
69
+ Logging (bench, {" -logthreadnames=1" }, [] { LogInfo (" %s\n " , " test" ); });
70
70
}
71
71
72
- static void LogPrintfWithoutThreadNames (benchmark::Bench& bench)
72
+ static void LogWithoutThreadNames (benchmark::Bench& bench)
73
73
{
74
- Logging (bench, {" -logthreadnames=0" }, [] { LogPrintf (" %s\n " , " test" ); });
74
+ Logging (bench, {" -logthreadnames=0" }, [] { LogInfo (" %s\n " , " test" ); });
75
75
}
76
76
77
77
static void LogWithoutWriteToFile (benchmark::Bench& bench)
78
78
{
79
79
// Disable writing the log to a file, as used for unit tests and fuzzing in `MakeNoLogFileContext`.
80
80
Logging (bench, {" -nodebuglogfile" , " -debug=1" }, [] {
81
- LogPrintf (" %s\n " , " test" );
81
+ LogInfo (" %s\n " , " test" );
82
82
LogDebug (BCLog::NET, " %s\n " , " test" );
83
83
});
84
84
}
@@ -89,6 +89,6 @@ BENCHMARK(LogWithDebug, benchmark::PriorityLevel::HIGH);
89
89
BENCHMARK (LogWithoutDebug, benchmark::PriorityLevel::HIGH);
90
90
BENCHMARK (LogPrintfCategoryWithThreadNames, benchmark::PriorityLevel::HIGH);
91
91
BENCHMARK (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);
94
94
BENCHMARK (LogWithoutWriteToFile, benchmark::PriorityLevel::HIGH);
0 commit comments