Main: don't forget to initialise Logger.

Especially on release builds...
This commit is contained in:
Guillaume Jacquemin 2022-11-25 17:10:26 +01:00
parent 924838ecb4
commit 722cc511d6

View file

@ -36,6 +36,8 @@ int main(int argc, char** argv) {
Warning warning_intercept{&warning_intercept_stream};
Error error_intercept{&error_intercept_stream};
logger().initialise();
LOG_INFO("Initialising M.A.S.S. Builder Save Tool version " SAVETOOL_VERSION ".");
auto str = std::setlocale(LC_ALL, ".utf-8");