mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
Added non const sinks() function to support addition/removal of sinks from existing logger
This commit is contained in:
@@ -126,6 +126,8 @@ public:
|
||||
|
||||
const std::vector<sink_ptr> &sinks() const;
|
||||
|
||||
std::vector<sink_ptr> &sinks() ;
|
||||
|
||||
// error handler
|
||||
void set_error_handler(log_err_handler err_handler);
|
||||
log_err_handler error_handler();
|
||||
|
Reference in New Issue
Block a user