mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-11-14 03:03:35 +00:00
Fix path in logger object
For addrmaps, the addrmaps appeared twice. It was better anyway to use a variable name that gets build in create_underscored_path(). This method was not yet present when the logger was first instantiated.
This commit is contained in:
parent
5ed7cccd7f
commit
f50d65d2d2
@ -39,7 +39,7 @@ class Component():
|
|||||||
self.config = config
|
self.config = config
|
||||||
|
|
||||||
# Create logger object
|
# Create logger object
|
||||||
self.create_logger("{}.{}".format(self.owning_addrmap, self.path), config)
|
self.create_logger("{}".format(self.full_path), config)
|
||||||
self.logger.debug('Starting to process {} "{}"'.format(
|
self.logger.debug('Starting to process {} "{}"'.format(
|
||||||
self.__class__.__name__,
|
self.__class__.__name__,
|
||||||
obj.inst_name))
|
obj.inst_name))
|
||||||
|
Loading…
Reference in New Issue
Block a user