public function log($sql)
    {
        $query = new LoggedQuery();
        $query->query = $sql;
        $this->getLogger()->log($query);
    }
public function log($sql)
    {
        $query = new LoggedQuery();
        $query->query = $sql;
        $this->getLogger()->log($query);
    }
public function log ( $ sql ) { $ query = new LoggedQuery ( ) ; $ query -> query = $ sql ; $ this -> getLogger ( ) -> log ( $ query ) ; }
Logs a Query string using the configured logger object.

@param string $sql string to be logged
@return void
Logs a Query string using the configured logger object .