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

@@ -137,7 +137,7 @@ TEST_CASE("daily_file_sink::daily_filename_format_calculator", "[daily_file_sink
static spdlog::details::log_msg create_msg(std::chrono::seconds offset)
{
using spdlog::log_clock;
spdlog::details::log_msg msg{"test", spdlog::log_level::info, "Hello Message"};
spdlog::details::log_msg msg{"test", spdlog::level::info, "Hello Message"};
msg.time = log_clock::now() + offset;
return msg;
}