Model/Datasource/ArraySource.php
protected function _registerLog(Model $model, &$queryData, $took, $numRows) {
		if (!Configure::read()) {
			return;
		}
		$this->_requestsLog[] = array(
			'query' => $this->_pseudoSelect($model, $queryData),
			'error' => '',
			'affected' => 0,
			'numRows' => $numRows,
			'took' => round($took, 3)
		);
	}
protected function _registerLog(Model $model, &$queryData, $took, $numRows) {
		if (!Configure::read()) {
			return;
		}
		$this->_requestsLog[] = array(
			'query' => $this->_pseudoSelect($model, $queryData),
			'error' => '',
			'affected' => 0,
			'numRows' => $numRows,
			'took' => round($took, 3)
		);
	}
protected function _registerLog ( Model $ model , & $ queryData , $ took , $ numRows ) { if ( ! Configure :: read ( ) ) { return ; } $ this -> _requestsLog [ ] = array ( 'query' => $ this -> _pseudoSelect ( $ model , $ queryData ) , 'error' => '' , 'affected' => 0 , 'numRows' => $ numRows , 'took' => round ( $ took , 3 ) ) ; }
Generate a log registry

@param object $model
@param array $queryData
@param float $took
@param integer $numRows
@return void
Generate a log registry