|
|
@ -52,7 +52,7 @@ SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::log(const details::log_msg &msg
|
|
|
|
// before color range
|
|
|
|
// before color range
|
|
|
|
print_range_(formatted, 0, msg.color_range_start);
|
|
|
|
print_range_(formatted, 0, msg.color_range_start);
|
|
|
|
// in color range
|
|
|
|
// in color range
|
|
|
|
print_ccode_(colors_.at(static_cast<size_t>(msg.log_level)));
|
|
|
|
print_ccode_(colors_.at(level_to_number(msg.log_level)));
|
|
|
|
print_range_(formatted, msg.color_range_start, msg.color_range_end);
|
|
|
|
print_range_(formatted, msg.color_range_start, msg.color_range_end);
|
|
|
|
print_ccode_(reset);
|
|
|
|
print_ccode_(reset);
|
|
|
|
// after color range
|
|
|
|
// after color range
|
|
|
|