|
|
|
@ -87,7 +87,7 @@ void ansicolor_sink<Mutex>::flush_() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template <typename Mutex>
|
|
|
|
|
void ansicolor_sink<Mutex>::print_ccode_(const string_view_t &color_code) {
|
|
|
|
|
void ansicolor_sink<Mutex>::print_ccode_(const string_view_t color_code) {
|
|
|
|
|
fwrite(color_code.data(), sizeof(char), color_code.size(), target_file_);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -97,7 +97,7 @@ void ansicolor_sink<Mutex>::print_range_(const memory_buf_t &formatted, size_t s
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template <typename Mutex>
|
|
|
|
|
std::string ansicolor_sink<Mutex>::to_string_(const string_view_t &sv) {
|
|
|
|
|
std::string ansicolor_sink<Mutex>::to_string_(const string_view_t sv) {
|
|
|
|
|
return {sv.data(), sv.size()};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|