utils: rework Mu::Error and g_ logging macros with fmt

A bit more C++ template magic to remove a lot of code.
This commit is contained in:
Dirk-Jan C. Binnema
2023-07-03 20:41:06 +03:00
parent e6ab61d233
commit 742ca33740
11 changed files with 128 additions and 163 deletions

View File

@ -517,7 +517,7 @@ try {
return g_test_run();
} catch (const std::runtime_error& re) {
std::cerr << re.what() << "\n";
mu_printerrln("{}", re.what());
return 1;
}