@contextmanager<EOL><INDENT>def channel(self) -> Iterator[amqp.Channel]:<DEDENT>
with self.connection() as conn:<EOL><INDENT>ch = conn.channel()<EOL>logger.info('<STR_LIT>')<EOL>with _safe_close(ch):<EOL><INDENT>yield ch<EOL><DEDENT><DEDENT>
Returns a new channel from a new connection as a context manager.