Skip to content

Commit

Permalink
Add event id to logger benchmark method (#2133)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan authored May 8, 2023
1 parent 990da7d commit 8308fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/test/logs/logger_benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static void BM_StructuredLogWithEventIdAndTwoAttributes(benchmark::State &state)
for (int64_t i = 0; i < kMaxIterations; i++)
{
logger->Trace(
"This is a simple structured log message from {process_id}:{thread_id}",
0x12345678, "This is a simple structured log message from {process_id}:{thread_id}",
opentelemetry::common::MakeAttributes({{"process_id", 12347}, {"thread_id", 12348}}));
}
});
Expand Down

0 comments on commit 8308fc6

Please sign in to comment.