mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 17:40:05 +00:00 
			
		
		
		
	Boost.Log -> spdlog - wsr88d/rpg
This commit is contained in:
		
							parent
							
								
									dda71133e0
								
							
						
					
					
						commit
						766940e60f
					
				
					 39 changed files with 253 additions and 351 deletions
				
			
		|  | @ -1,12 +1,11 @@ | |||
| #include <scwx/wsr88d/rpg/ccb_header.hpp> | ||||
| #include <scwx/util/logger.hpp> | ||||
| #include <scwx/util/streams.hpp> | ||||
| 
 | ||||
| #include <istream> | ||||
| #include <sstream> | ||||
| #include <string> | ||||
| 
 | ||||
| #include <boost/log/trivial.hpp> | ||||
| 
 | ||||
| #ifdef WIN32 | ||||
| #   include <WinSock2.h> | ||||
| #else | ||||
|  | @ -20,7 +19,8 @@ namespace wsr88d | |||
| namespace rpg | ||||
| { | ||||
| 
 | ||||
| static const std::string logPrefix_ = "[scwx::wsr88d::rpg::ccb_header] "; | ||||
| static const std::string logPrefix_ = "scwx::wsr88d::rpg::ccb_header"; | ||||
| static const auto        logger_    = util::Logger::Create(logPrefix_); | ||||
| 
 | ||||
| class CcbHeaderImpl | ||||
| { | ||||
|  | @ -197,7 +197,7 @@ bool CcbHeader::Parse(std::istream& is) | |||
| 
 | ||||
|    if (is.eof()) | ||||
|    { | ||||
|       BOOST_LOG_TRIVIAL(debug) << logPrefix_ << "Reached end of file"; | ||||
|       logger_->debug("Reached end of file"); | ||||
|       headerValid = false; | ||||
|    } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat