Main: don't forget to initialise Logger.
Especially on release builds...
This commit is contained in:
parent
924838ecb4
commit
722cc511d6
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue