code: def _init_logger(self):
          
          if self.flow:
              self.logger = self.flow.logger.getChild(self.__class__.__name__)
          else:
              self.logger = logging.getLogger(__name__)
docs: Initializes self.logger