Commit 729ec216 authored by gabime's avatar gabime

Added virtual protected functions to base_sink

parent b393715b
...@@ -60,7 +60,7 @@ protected: ...@@ -60,7 +60,7 @@ protected:
virtual void set_pattern_(const std::string &pattern) virtual void set_pattern_(const std::string &pattern)
{ {
formatter_ = spdlog::make_unique<spdlog::pattern_formatter>(pattern); set_formatter_(spdlog::make_unique<spdlog::pattern_formatter>(pattern));
} }
virtual void set_formatter_(std::unique_ptr<spdlog::formatter> sink_formatter) virtual void set_formatter_(std::unique_ptr<spdlog::formatter> sink_formatter)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment