def _set_logger(self, name=None):
        if name is None:
            cls = self.__class__
            name = '%s.%s' % (cls.__module__, cls.__name__)
        self._logger = logging.getLogger(name)
Adds a logger with a given `name`.
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/pypetlogging.py/HasLogger._set_logger