Kelsidavis-WoWee/src/main.cpp
Kelsi a97ebfbc60 Rename Wowser to Wowee throughout codebase
Update application name in startup logs and window title.
2026-02-02 23:22:58 -08:00

32 lines
801 B
C++

#include "core/application.hpp"
#include "core/logger.hpp"
#include <exception>
int main(int argc, char* argv[]) {
try {
wowee::core::Logger::getInstance().setLogLevel(wowee::core::LogLevel::DEBUG);
LOG_INFO("=== Wowee Native Client ===");
LOG_INFO("Starting application...");
wowee::core::Application app;
if (!app.initialize()) {
LOG_FATAL("Failed to initialize application");
return 1;
}
app.run();
app.shutdown();
LOG_INFO("Application exited successfully");
return 0;
}
catch (const std::exception& e) {
LOG_FATAL("Unhandled exception: ", e.what());
return 1;
}
catch (...) {
LOG_FATAL("Unknown exception occurred");
return 1;
}
}