Added virtual protected functions to base_sink
This commit is contained in:
		@@ -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)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user