Unverified Commit 5d4956d3 authored by Jakub Neruda's avatar Jakub Neruda Committed by GitHub

Set default value to registry::err_handler_

parent 42c5eb59
......@@ -99,7 +99,7 @@ private:
std::unique_ptr<formatter> formatter_;
spdlog::level::level_enum global_log_level_ = level::info;
level::level_enum flush_level_ = level::off;
void (*err_handler_)(const std::string &msg);
void (*err_handler_)(const std::string &msg) = nullptr;
std::shared_ptr<thread_pool> tp_;
std::unique_ptr<periodic_worker> periodic_flusher_;
std::shared_ptr<logger> default_logger_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment