Renamed spdlog::log_level to spdlog::level and added some level tests

This commit is contained in:
gabime
2023-09-23 17:59:51 +03:00
parent 2d801bbd80
commit 433cac487e
48 changed files with 473 additions and 370 deletions

View File

@@ -16,7 +16,7 @@ void bench_formatter(benchmark::State &state, std::string pattern)
const char *text = "Hello. This is some message with length of 80 ";
spdlog::source_loc source_loc{"a/b/c/d/myfile.cpp", 123, "some_func()"};
spdlog::details::log_msg msg(source_loc, logger_name, spdlog::log_level::info, text);
spdlog::details::log_msg msg(source_loc, logger_name, spdlog::level::info, text);
for (auto _ : state)
{