Update comment

pull/3309/head
gabime 8 months ago
parent 03bec4f984
commit dc7b8ee205

@ -8,7 +8,8 @@
namespace spdlog { namespace spdlog {
namespace details { namespace details {
// print error to stderr with source location if present // Prints error to stderr with source location (if available). A stderr sink is not used because reaching
// this point might indicate a problem with the logging system itself so we use fputs() directly.
void default_err_handler::handle_ex(const std::string &origin, const source_loc &loc, const std::exception &ex) const { void default_err_handler::handle_ex(const std::string &origin, const source_loc &loc, const std::exception &ex) const {
std::lock_guard lk{mutex_}; std::lock_guard lk{mutex_};
const auto tm_time = os::localtime(); const auto tm_time = os::localtime();

Loading…
Cancel
Save