|
|
|
@ -88,12 +88,12 @@ 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) const {
|
|
|
|
|
details::os::fwrite_bytes(color_code.data(), color_code.size(), target_file_);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
template <typename Mutex>
|
|
|
|
|
void ansicolor_sink<Mutex>::print_range_(const memory_buf_t &formatted, size_t start, size_t end) {
|
|
|
|
|
void ansicolor_sink<Mutex>::print_range_(const memory_buf_t &formatted, size_t start, size_t end) const {
|
|
|
|
|
details::os::fwrite_bytes(formatted.data() + start, end - start, target_file_);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|