'Sets the log level used by this session.
Valid levels are: "none", "error", "warning", "info"
and "debug".
:param level: level of logging to output'

def set_loglevel(self, level):

    self.logger.set_level(level)
