Log a CRITICAL message

    Convenience function to log a message to the default Logger

    Parameters
    ----------
    msg : str
        Message to be logged
    name : `str`, optional (default: "TaskLogger")
        Name used to retrieve the unique TaskLogger

    Returns
    -------
    logger : TaskLogger

def log_critical(msg, logger="TaskLogger"):
    """Log a CRITICAL message

    Convenience function to log a message to the default Logger

    Parameters
    ----------
    msg : str
        Message to be logged
    name : `str`, optional (default: "TaskLogger")
        Name used to retrieve the unique TaskLogger

    Returns
    -------
    logger : TaskLogger
    """
    tasklogger = get_tasklogger(logger)
    tasklogger.critical(msg)
    return tasklogger