50 spdlog::memory_buf_t formatted_buf;
51 spdlog::sinks::base_sink<Mutex>::formatter_->format(msg, formatted_buf);
52 std::string formatted = fmt::to_string(formatted_buf);
54 if (std::regex_search(formatted,
filter_))
56 spdlog::sinks::dist_sink<Mutex>::sink_it_(msg);