Transport/AbstractTransportDecorator.php
public function setLogger(LoggerInterface $logger)
    {
        if ($this->transport instanceof LoggerAwareInterface) {
            $this->transport->setLogger($logger);
        }
    }
public function setLogger(LoggerInterface $logger)
    {
        if ($this->transport instanceof LoggerAwareInterface) {
            $this->transport->setLogger($logger);
        }
    }
Sets a logger instance on the transport

@param LoggerInterface $logger