import logging


def terminal_logger(name="MilanBot", level=logging.INFO):
    """
    RetA wrapper for retrieving basic logging function
    :param name:
    :param level:
    :return:
    """
    logging.basicConfig(level=level)
    return logging.getLogger(name=name)