mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 18:39:03 +08:00
support for color formatting
This commit is contained in:
@@ -40,6 +40,9 @@ struct log_msg
|
||||
fmt::MemoryWriter raw;
|
||||
fmt::MemoryWriter formatted;
|
||||
size_t msg_id{0};
|
||||
// wrap this range with color codes
|
||||
size_t color_range_start{0};
|
||||
size_t color_range_end{0};
|
||||
};
|
||||
} // namespace details
|
||||
} // namespace spdlog
|
||||
|
Reference in New Issue
Block a user