Update README.md
This commit is contained in:
		
							parent
							
								
									dbdda39683
								
							
						
					
					
						commit
						c77e0fa837
					
				| @ -79,6 +79,7 @@ int main(int, char* []) | |||||||
|         for(int i = 0; i < 10; ++i) |         for(int i = 0; i < 10; ++i) | ||||||
| 		      file_logger->info("{} * {} equals {:>10}", i, i, i*i); | 		      file_logger->info("{} * {} equals {:>10}", i, i, i*i); | ||||||
| 
 | 
 | ||||||
|  |          //Customize msg format  | ||||||
|         spd::set_pattern("*** [%H:%M:%S %z] [thread %t] %v ***"); |         spd::set_pattern("*** [%H:%M:%S %z] [thread %t] %v ***"); | ||||||
|         file_logger->info("This is another message with custom format"); |         file_logger->info("This is another message with custom format"); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user