Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Jan 4, 2025
1 parent 03bec4f commit dc7b8ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/details/default_err_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
namespace spdlog {
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 {
std::lock_guard lk{mutex_};
const auto tm_time = os::localtime();
Expand Down

0 comments on commit dc7b8ee

Please sign in to comment.