From 502c48dff10e89e8649973c330c919f2bd8901dd Mon Sep 17 00:00:00 2001 From: drakbar Date: Thu, 13 Jul 2023 02:24:41 -0500 Subject: [PATCH] add ranges containers --- include/spdlog/details/log_msg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/spdlog/details/log_msg.h b/include/spdlog/details/log_msg.h index fed51abd..eb284760 100644 --- a/include/spdlog/details/log_msg.h +++ b/include/spdlog/details/log_msg.h @@ -5,6 +5,7 @@ #include #include +#include namespace spdlog { namespace details { @@ -25,6 +26,8 @@ struct SPDLOG_API log_msg // wrapping the formatted text with color (updated by pattern_formatter). mutable size_t color_range_start{0}; mutable size_t color_range_end{0}; + mutable std::vectorcolor_ranges_start = {}; + mutable std::vectorcolor_ranges_end = {}; source_loc source; string_view_t payload;