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;