original_string: protected function _log($query, $params, $startTime)
      {
          $query->took = (int)round((microtime(true) - $startTime) * 1000, 0);
          $query->params = $params ?: $this->_compiledParams;
          $query->query = $this->queryString;
          $this->getLogger()->log($query);
      }
code: protected function _log($query, $params, $startTime)
      {
          $query->took = (int)round((microtime(true) - $startTime) * 1000, 0);
          $query->params = $params ?: $this->_compiledParams;
          $query->query = $this->queryString;
          $this->getLogger()->log($query);
      }
code_tokens: protected function _log ( $ query , $ params , $ startTime ) { $ query -> took = ( int ) round ( ( microtime ( true ) - $ startTime ) * 1000 , 0 ) ; $ query -> params = $ params ? : $ this -> _compiledParams ; $ query -> query = $ this -> queryString ; $ this -> getLogger ( ) -> log ( $ query ) ; }
docstring: Copies the logging data to the passed LoggedQuery and sends it
  to the logging system.
  
  @param \Cake\Database\Log\LoggedQuery $query The query to log.
  @param array $params List of values to be bound to query.
  @param float $startTime The microtime when the query was executed.
  @return void
docstring_tokens: Copies the logging data to the passed LoggedQuery and sends it to the logging system .