mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-07 13:40:48 +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:
parent
bfb4721715
commit
92fb54d57b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user