import logging


def get_logger(level=None):
    """Creates a logger for functions in the library.

    Args:
        level (str, optional): Logging level. Defaults to ``logging.INFO``.

    Returns:
        logging.Logger: Logger created.
    """
    if level is None:
        level = logging.INFO
    logging.basicConfig(level=level)
    logger = logging.getLogger()
    return logger