mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 05:10:04 +00:00 
			
		
		
		
	Initial setup for spdlog
This commit is contained in:
		
							parent
							
								
									7aef98b002
								
							
						
					
					
						commit
						20b8c75234
					
				
					 5 changed files with 67 additions and 0 deletions
				
			
		|  | @ -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(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat