6 #ifndef SPDLOG_HEADER_ONLY
15 template<
typename Mutex>
17 : formatter_{details::make_unique<spdlog::pattern_formatter>()}
20 template<
typename Mutex>
25 template<
typename Mutex>
28 std::lock_guard<Mutex> lock(mutex_);
32 template<
typename Mutex>
35 std::lock_guard<Mutex> lock(mutex_);
39 template<
typename Mutex>
42 std::lock_guard<Mutex> lock(mutex_);
43 set_pattern_(pattern);
46 template<
typename Mutex>
49 std::lock_guard<Mutex> lock(mutex_);
50 set_formatter_(std::move(sink_formatter));
53 template<
typename Mutex>
56 set_formatter_(details::make_unique<spdlog::pattern_formatter>(pattern));
59 template<
typename Mutex>
62 formatter_ = std::move(sink_formatter);