def set_level(self, level):
        try:
            index = Logger.Levels.index(level)
        except __HOLE__:
            return

        self.level = index
dataset/ETHPy150Open chrippa/livestreamer/src/livestreamer/logger.py/Logger.set_level