Added virtual protected functions to base_sink

This commit is contained in:
gabime 2018-09-26 15:29:19 +03:00
parent b393715bee
commit 729ec21629

View File

@ -60,7 +60,7 @@ protected:
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)