protected function getSQLLogger()
    {
        if (!$this->SQLLogger instanceof SQLLogger) {
            $sqlLogger = $this->getOption('sql_logger');

            if ($sqlLogger instanceof SQLLogger) {
                $this->SQLLogger = $sqlLogger;
            }
        }

        return $this->SQLLogger;
    }
protected function getSQLLogger()
    {
        if (!$this->SQLLogger instanceof SQLLogger) {
            $sqlLogger = $this->getOption('sql_logger');

            if ($sqlLogger instanceof SQLLogger) {
                $this->SQLLogger = $sqlLogger;
            }
        }

        return $this->SQLLogger;
    }
protected function getSQLLogger ( ) { if ( ! $ this -> SQLLogger instanceof SQLLogger ) { $ sqlLogger = $ this -> getOption ( 'sql_logger' ) ; if ( $ sqlLogger instanceof SQLLogger ) { $ this -> SQLLogger = $ sqlLogger ; } } return $ this -> SQLLogger ; }
Retrieve SQL logger.

@return SQLLogger|null
Retrieve SQL logger .