def warning(self, msg, *args, **kwargs) -> Task:  
return self._make_log_task(logging.WARNING, msg, args, **kwargs)<EOL>
Log msg with severity 'WARNING'.

To pass exception information, use the keyword argument exc_info with
a true value, e.g.

await logger.warning("Houston, we have a bit of a problem", exc_info=1)