The logger of this organizer

def logger(self):
        """The logger of this organizer"""
        if self._experiment:
            return logging.getLogger('.'.join([self.name, self.experiment]))
        elif self._projectname:
            return logging.getLogger('.'.join([self.name, self.projectname]))
        else:
            return logging.getLogger('.'.join([self.name]))