Skip to content

Commit

Permalink
Fix format of log messages. (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc authored Nov 21, 2023
1 parent 32aa01d commit 61fa102
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/highfive/H5Utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ inline void default_logging_callback(LogSeverity severity,
const std::string& message,
const std::string& file,
int line) {
std::clog << file << ": " << line << " :: " << to_string(severity) << message << std::endl;
std::clog << file << ": " << line << " [" << to_string(severity) << "] " << message
<< std::endl;
}

/// \brief Obtain a reference to the logger used by HighFive.
Expand Down

0 comments on commit 61fa102

Please sign in to comment.