Update README.md
This commit is contained in:
		
							parent
							
								
									2277fdc80d
								
							
						
					
					
						commit
						8266dde556
					
				@ -160,9 +160,8 @@ void async_example()
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// create logger with 2 targets with different log levels and formats
 | 
					// create logger with 2 targets with different log levels and formats.
 | 
				
			||||||
// the console will show only warnings or errors, while the file will log all
 | 
					// the console will show only warnings or errors, while the file will log all.
 | 
				
			||||||
 | 
					 | 
				
			||||||
void multi_sink_example()
 | 
					void multi_sink_example()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    auto console_sink = std::make_shared<spdlog::sinks::stdout_color_sink_mt>();
 | 
					    auto console_sink = std::make_shared<spdlog::sinks::stdout_color_sink_mt>();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user