// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include #include #include "spdlog/common.h" // by default, prints the error to stderr, thread safe namespace spdlog { namespace details { class default_err_handler { mutable std::mutex mutex_; public: void handle(const std::string& origin, const source_loc& loc, const std::string &err_msg) const; }; }} // namespace spdlog::details