def _get_logger_method(self, level):
        if level >= logging.WARNING:
            return logger.warn
        if level >= logging.INFO:
            return logger.info
        if level >= logging.DEBUG:
            return logger.debug
        return logger.trace
dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/output/pyloggingconf.py/RobotHandler._get_logger_method/original