diff --git a/src/main.cpp b/src/main.cpp index 292b457..de9c86c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,4 +16,17 @@ #include "SaveTool/SaveTool.h" -MAGNUM_SDL2APPLICATION_MAIN(SaveTool) +#include + +int main(int argc, char** argv) { +#ifndef MANAGER_DEBUG_BUILD + std::ofstream output{"out.txt", std::ios::trunc|std::ios::out}; + + Utility::Debug d{&output}; + Utility::Warning w{&output}; + Utility::Error e{&output}; +#endif + + SaveTool app({argc, argv}); + return app.exec(); +}