mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 10:30:06 +00:00 
			
		
		
		
	Removing boost log from Boost.Log -> spdlog - settings, types, util, view
This commit is contained in:
		
							parent
							
								
									e6bddc79db
								
							
						
					
					
						commit
						c6281d799f
					
				
					 13 changed files with 109 additions and 127 deletions
				
			
		|  | @ -1,9 +1,8 @@ | |||
| #include <scwx/qt/util/font_buffer.hpp> | ||||
| #include <scwx/util/logger.hpp> | ||||
| 
 | ||||
| #include <mutex> | ||||
| 
 | ||||
| #include <boost/log/trivial.hpp> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace qt | ||||
|  | @ -11,7 +10,8 @@ namespace qt | |||
| namespace util | ||||
| { | ||||
| 
 | ||||
| static const std::string logPrefix_ = "[scwx::qt::util::font_buffer] "; | ||||
| static const std::string logPrefix_ = "scwx::qt::util::font_buffer"; | ||||
| static const auto        logger_    = scwx::util::Logger::Create(logPrefix_); | ||||
| 
 | ||||
| class FontBufferImpl | ||||
| { | ||||
|  | @ -140,8 +140,7 @@ void FontBuffer::Push(std::initializer_list<GLuint>  indices, | |||
| { | ||||
|    if (indices.size() % 3 != 0 || vertices.size() % 9 != 0) | ||||
|    { | ||||
|       BOOST_LOG_TRIVIAL(warning) | ||||
|          << logPrefix_ << "Invalid push arguments, ignoring"; | ||||
|       logger_->warn("Invalid push arguments, ignoring"); | ||||
|       return; | ||||
|    } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat