import logging


def get_logger(
    log_level=logging.INFO,
    msg_format="%(asctime)s - %(levelname)s - %(filename)s:%(funcName)s:%(lineno)s"
    "- %(message)s",
    cls_name=__name__,
):
    """
    Instantiate a new logger.

    Args:
        log_level = One of the log reporting levels defined in the logging module
                    (Default:  logging.INFO)
        cls_name = Class name for this logger (Default: __name__)
    """

    logging.basicConfig(format=msg_format, level=log_level)
    return logging.getLogger(cls_name)