mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	bpo-34415: Updated logging.Formatter docstring. (GH-8811)
This commit is contained in:
		
							parent
							
								
									93b5655c04
								
							
						
					
					
						commit
						d3d3171da8
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -424,7 +424,8 @@ class Formatter(object):
 | 
				
			||||||
    responsible for converting a LogRecord to (usually) a string which can
 | 
					    responsible for converting a LogRecord to (usually) a string which can
 | 
				
			||||||
    be interpreted by either a human or an external system. The base Formatter
 | 
					    be interpreted by either a human or an external system. The base Formatter
 | 
				
			||||||
    allows a formatting string to be specified. If none is supplied, the
 | 
					    allows a formatting string to be specified. If none is supplied, the
 | 
				
			||||||
    default value of "%s(message)" is used.
 | 
					    the style-dependent default value, "%(message)s", "{message}", or
 | 
				
			||||||
 | 
					    "${message}", is used.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    The Formatter can be initialized with a format string which makes use of
 | 
					    The Formatter can be initialized with a format string which makes use of
 | 
				
			||||||
    knowledge of the LogRecord attributes - e.g. the default value mentioned
 | 
					    knowledge of the LogRecord attributes - e.g. the default value mentioned
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue