add ranges containers

pull/2814/head
drakbar 2 years ago
parent 7e635fca68
commit 502c48dff1

@ -5,6 +5,7 @@
#include <spdlog/common.h> #include <spdlog/common.h>
#include <string> #include <string>
#include <vector>
namespace spdlog { namespace spdlog {
namespace details { namespace details {
@ -25,6 +26,8 @@ struct SPDLOG_API log_msg
// wrapping the formatted text with color (updated by pattern_formatter). // wrapping the formatted text with color (updated by pattern_formatter).
mutable size_t color_range_start{0}; mutable size_t color_range_start{0};
mutable size_t color_range_end{0}; mutable size_t color_range_end{0};
mutable std::vector<size_t>color_ranges_start = {};
mutable std::vector<size_t>color_ranges_end = {};
source_loc source; source_loc source;
string_view_t payload; string_view_t payload;

Loading…
Cancel
Save