original_string: public function log($sql)
      {
          $query = new LoggedQuery();
          $query->query = $sql;
          $this->getLogger()->log($query);
      }
code: public function log($sql)
      {
          $query = new LoggedQuery();
          $query->query = $sql;
          $this->getLogger()->log($query);
      }
code_tokens: public function log ( $ sql ) { $ query = new LoggedQuery ( ) ; $ query -> query = $ sql ; $ this -> getLogger ( ) -> log ( $ query ) ; }
docstring: Logs a Query string using the configured logger object.
  
  @param string $sql string to be logged
  @return void
docstring_tokens: Logs a Query string using the configured logger object .