import logging


def parse_log_level(level_arg):
    """
    Parse a string representing a log level.
    :param level_arg: The desired level as a string (ex: 'info').
    :return: The corresponding level as a `logging` member (ex: `logging.INFO`).
    """
    return getattr(logging, level_arg.upper())