import logging


def get_null_logger(module_name):
    """Gets a logger with a NullHandler that actually does no logging

    Args:
        **module_name (str)**: Name of the module requesting the logger

    Returns:
        A logger using a NullHandler
    """
    logger = logging.getLogger(module_name)
    logger.setLevel(logging.WARNING)
    handler = logging.NullHandler()
    handler.setLevel(logging.WARNING)
    logger.addHandler(handler)
    return logger