Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Aug 20, 2024
1 parent 51532ba commit c1d12ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/test/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ TEST(LoggingTest, TestLogTiming)
TEST(LoggingTest, SimpleBenchmark)
{
g_stderr_logger->set_level(spdlog::level::critical);
SCOPED_LOG_TIMING(info, "LoggingTest.SimpleBenchmark loop {} times", FLAGS_logging_test_simple_benchmark_loops);
SCOPED_LOG_TIMING(info,
"LoggingTest.SimpleBenchmark loop {} times",
FLAGS_logging_test_simple_benchmark_loops);
for (int i = 0; i < FLAGS_logging_test_simple_benchmark_loops; i++) {
LOG_DEBUG("abc {}, {}, {}", i, 1.0, "hello 1");
LOG_INFO("abc {}, {}, {}", i + 1, 2.0, "hello 2");
Expand Down

0 comments on commit c1d12ff

Please sign in to comment.