import logging


def get_logger(name):
    """
    Retrieves a logger.

    :param name: The name of the logger
    :returns: The requested logger
    :rtype: logging.getLogger instance

    """
    log = logging.getLogger(name)
    log.setLevel(logging.ERROR)

    return log