public function getLogger()
    {
        if (null === $this->logger) {
            return Propel::getServiceContainer()->getLogger($this->getName());
        }

        return $this->logger;
    }
public function getLogger()
    {
        if (null === $this->logger) {
            return Propel::getServiceContainer()->getLogger($this->getName());
        }

        return $this->logger;
    }
public function getLogger ( ) { if ( null === $ this -> logger ) { return Propel :: getServiceContainer ( ) -> getLogger ( $ this -> getName ( ) ) ; } return $ this -> logger ; }
Gets the logger to use for this connection.
If no logger was set, returns the default logger from the Service Container.

@return LoggerInterface A logger.
Gets the logger to use for this connection . If no logger was set returns the default logger from the Service Container .