Initial setup for spdlog

This commit is contained in:
Dan Paulat 2022-04-13 20:08:04 -05:00
parent 7aef98b002
commit 20b8c75234
5 changed files with 67 additions and 0 deletions

View file

@ -2,9 +2,11 @@
#include <scwx/qt/main/main_window.hpp>
#include <scwx/qt/manager/resource_manager.hpp>
#include <scwx/qt/manager/settings_manager.hpp>
#include <scwx/util/logger.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/trivial.hpp>
#include <spdlog/spdlog.h>
#include <QApplication>
int main(int argc, char* argv[])
@ -12,6 +14,9 @@ int main(int argc, char* argv[])
boost::log::core::get()->set_filter(boost::log::trivial::severity >=
boost::log::trivial::debug);
scwx::util::Logger::Initialize();
spdlog::set_level(spdlog::level::debug);
QCoreApplication::setApplicationName("Supercell Wx");
scwx::qt::config::RadarSite::Initialize();