updated example
This commit is contained in:
		
							parent
							
								
									a21594bec7
								
							
						
					
					
						commit
						145fc367f9
					
				@ -21,6 +21,7 @@
 | 
				
			|||||||
void async_example();
 | 
					void async_example();
 | 
				
			||||||
void user_defined_example();
 | 
					void user_defined_example();
 | 
				
			||||||
void err_handler_example();
 | 
					void err_handler_example();
 | 
				
			||||||
 | 
					void syslog_example();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace spd = spdlog;
 | 
					namespace spd = spdlog;
 | 
				
			||||||
int main(int, char *[])
 | 
					int main(int, char *[])
 | 
				
			||||||
@ -28,6 +29,7 @@ int main(int, char *[])
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    try
 | 
					    try
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        syslog_example();
 | 
				
			||||||
        auto console = spdlog::stdout_color_st("console");
 | 
					        auto console = spdlog::stdout_color_st("console");
 | 
				
			||||||
        console->info("Welcome to spdlog!");
 | 
					        console->info("Welcome to spdlog!");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user