protected function _logQuery(Query $query, LoggerInterface $logger)
    {
        if (!$this->getDriver()->isQueryLoggingEnabled()) {
            return;
        }

        $logger->debug($query->endpoint(), [
            'params' => $query->where()
        ]);
    }
protected function _logQuery(Query $query, LoggerInterface $logger)
    {
        if (!$this->getDriver()->isQueryLoggingEnabled()) {
            return;
        }

        $logger->debug($query->endpoint(), [
            'params' => $query->where()
        ]);
    }
protected function _logQuery ( Query $ query , LoggerInterface $ logger ) { if ( ! $ this -> getDriver ( ) -> isQueryLoggingEnabled ( ) ) { return ; } $ logger -> debug ( $ query -> endpoint ( ) , [ 'params' => $ query -> where ( ) ] ) ; }
Logs a query to the specified logger

@param \Muffin\Webservice\Query $query The query to log
@param \Psr\Log\LoggerInterface $logger The logger instance to use
@return void
Logs a query to the specified logger