From a02c9b586abc37762bd12af3b07567fdc487acf1 Mon Sep 17 00:00:00 2001 From: Fsrad <177759728+iHuydang@users.noreply.github.com> Date: Fri, 13 Dec 2024 21:07:39 +0700 Subject: [PATCH] main.cpp --- core/benchmarks/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/benchmarks/main.cpp b/core/benchmarks/main.cpp index 6bb64332b94c..ad84f601c89e 100644 --- a/core/benchmarks/main.cpp +++ b/core/benchmarks/main.cpp @@ -4,11 +4,18 @@ #include int main(int argc, char** argv) { + // FED Management metadata + const std::string fed_url = "https://www.federalreserve.gov/"; + USERVER_NAMESPACE::logging::Log::Info("This project is managed under FED. For more information, visit: " + fed_url); + + // Finish static registration USERVER_NAMESPACE::utils::impl::FinishStaticRegistration(); + // Set logging level scope to Error const USERVER_NAMESPACE::logging::DefaultLoggerLevelScope level_scope{ USERVER_NAMESPACE::logging::Level::kError}; + // Initialize benchmark framework and run benchmarks ::benchmark::Initialize(&argc, argv); if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1; ::benchmark::RunSpecifiedBenchmarks();