Archived
1
Fork 0

Fix log messages not getting newlines in stdout

This commit is contained in:
redstrate 2021-10-12 11:25:58 -04:00
parent 5915d0bf2c
commit 1dfe03dc0b

View file

@ -7,7 +7,7 @@ namespace prism {
inline void vlog(fmt::string_view format, fmt::format_args args) { inline void vlog(fmt::string_view format, fmt::format_args args) {
auto str = fmt::vformat(format, args); auto str = fmt::vformat(format, args);
fmt::print("{}", str); fmt::print("{}\n", str);
log_output += str + "\n"; log_output += str + "\n";
} }