def set_log_level(self, level):
        try:
            old = self._execution_context.output.set_log_level(level)
        except DataError, err:
            raise RuntimeError(unicode(err))
        self.log('Log level changed from %s to %s' % (old, level.upper()))
        return old
Sets the log threshold to the specified level and returns the old level.
dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/libraries/BuiltIn.py/_Misc.set_log_level