Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix format of log messages. #854

Merged
merged 3 commits into from
Nov 21, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/highfive/H5Utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
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;

Check warning on line 122 in include/highfive/H5Utility.hpp

View check run for this annotation

Codecov / codecov/patch

include/highfive/H5Utility.hpp#L122

Added line #L122 was not covered by tests
}

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