type
This commit is contained in:
		@@ -17,7 +17,7 @@ int main(int argc, char* argv[])
 | 
			
		||||
    int howmany = 1000000;
 | 
			
		||||
 | 
			
		||||
    namespace spd = spdlog;
 | 
			
		||||
    ///Create a file rotating logger with 5mb size max and 5 rotated files
 | 
			
		||||
    ///Create a file rotating logger with 10mb size max and 5 rotated files
 | 
			
		||||
    auto logger = spd::rotating_logger_mt("file_logger", "logs/spd-sample", 10 *1024 * 1024 , 5, false);
 | 
			
		||||
 | 
			
		||||
    logger->set_pattern("[%Y-%b-%d %T.%e]: %v");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user