<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def end_log_task(task, logger=logging, level='info'):
 """ Ends a log task Args: task (str):
 name of the log task to end logger (logging.Logger):
 logger to use level (str):
 log level to use Returns: None """

    getattr(logger, level)(END_TASK_TRIGGER_MSG % task)