mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Added virtual protected functions to base_sink
This commit is contained in:
parent
b393715bee
commit
729ec21629
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user