log info about created device
@@ -98,6 +98,9 @@ class TextualDevice(object):
self._collect_events_for_state_machine()
self._run_prompts_observers()
self._default_prompt = re.compile(r'^[^<]*[\$|%|#|>|~]\s*$')
+ msg = "Created device '{}' as instance of class '{}.{}'".format(self.name, self.__class__.__module__,
+ self.__class__.__name__)
+ self._log(level=logging.INFO, msg=msg)
def calc_timeout_for_command(self, passed_timeout, configurations):
command_timeout = None
