mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	module: nicer logger name
Use Module.name rather than Module.__name__ to name the logger for slightly more readable log output.
This commit is contained in:
		@@ -56,7 +56,7 @@ class Module(object):
 | 
			
		||||
 | 
			
		||||
    def __init__(self, target):
 | 
			
		||||
        self.target = target
 | 
			
		||||
        self.logger = logging.getLogger(self.__class__.__name__)
 | 
			
		||||
        self.logger = logging.getLogger(self.name)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class HardRestModule(Module):  # pylint: disable=R0921
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user