updated example
This commit is contained in:
		@@ -136,8 +136,6 @@ int main(int, char* [])
 | 
				
			|||||||
        auto async_file= spd::daily_logger_st("async_file_logger", "logs/async_log.txt");
 | 
					        auto async_file= spd::daily_logger_st("async_file_logger", "logs/async_log.txt");
 | 
				
			||||||
        async_file->info() << "This is async log.." << "Should be very fast!";
 | 
					        async_file->info() << "This is async log.." << "Should be very fast!";
 | 
				
			||||||
               
 | 
					               
 | 
				
			||||||
        
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifdef __linux__
 | 
					#ifdef __linux__
 | 
				
			||||||
        // syslog example                
 | 
					        // syslog example                
 | 
				
			||||||
        std::string ident = "spdlog-example";
 | 
					        std::string ident = "spdlog-example";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -75,8 +75,6 @@ int main(int, char* [])
 | 
				
			|||||||
        auto async_file= spd::daily_logger_st("async_file_logger", "logs/async_log.txt");
 | 
					        auto async_file= spd::daily_logger_st("async_file_logger", "logs/async_log.txt");
 | 
				
			||||||
        async_file->info() << "This is async log.." << "Should be very fast!";
 | 
					        async_file->info() << "This is async log.." << "Should be very fast!";
 | 
				
			||||||
               
 | 
					               
 | 
				
			||||||
        
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifdef __linux__
 | 
					#ifdef __linux__
 | 
				
			||||||
        // syslog example                
 | 
					        // syslog example                
 | 
				
			||||||
        std::string ident = "spdlog-example";
 | 
					        std::string ident = "spdlog-example";
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user