Fixed issue #881
This commit is contained in:
		
							parent
							
								
									99e23b41eb
								
							
						
					
					
						commit
						240a58fd6e
					
				@ -293,7 +293,7 @@ inline void spdlog::logger::set_error_handler(spdlog::log_err_handler err_handle
 | 
				
			|||||||
    err_handler_ = std::move(err_handler);
 | 
					    err_handler_ = std::move(err_handler);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
inline spdlog::log_err_handler spdlog::logger::error_handler()
 | 
					inline spdlog::log_err_handler spdlog::logger::error_handler() const
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    return err_handler_;
 | 
					    return err_handler_;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -140,7 +140,7 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    // error handler
 | 
					    // error handler
 | 
				
			||||||
    void set_error_handler(log_err_handler err_handler);
 | 
					    void set_error_handler(log_err_handler err_handler);
 | 
				
			||||||
    log_err_handler error_handler();
 | 
					    log_err_handler error_handler() const;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // create new logger with same sinks and configuration.
 | 
					    // create new logger with same sinks and configuration.
 | 
				
			||||||
    virtual std::shared_ptr<logger> clone(std::string logger_name);
 | 
					    virtual std::shared_ptr<logger> clone(std::string logger_name);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user