mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-03 18:20:25 +02:00 
			
		
		
		
	docs: kernellog.py: add support for info()
An extension may want to just inform about something. So, add support for it. Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/0ddebd8677605d789d53433c8a5344c68da82a73.1604042072.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
		
							parent
							
								
									55e5414f2f
								
							
						
					
					
						commit
						678a63f988
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -25,4 +25,8 @@ def verbose(app, message):
 | 
			
		|||
    else:
 | 
			
		||||
        app.verbose(message)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def info(app, message):
 | 
			
		||||
    if UseLogging:
 | 
			
		||||
        logger.info(message)
 | 
			
		||||
    else:
 | 
			
		||||
        app.info(message)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue