src/mako/database/connections/Connection.php
protected function log(string $query, array $params, float $start): void
	{
		$time = microtime(true) - $start;

		$query = $this->prepareQueryForLog($query, $params);

		$this->log[] = ['query' => $query, 'time' => $time];
	}
protected function log(string $query, array $params, float $start): void
	{
		$time = microtime(true) - $start;

		$query = $this->prepareQueryForLog($query, $params);

		$this->log[] = ['query' => $query, 'time' => $time];
	}
protected function log ( string $ query , array $ params , float $ start ) : void { $ time = microtime ( true ) - $ start ; $ query = $ this -> prepareQueryForLog ( $ query , $ params ) ; $ this -> log [ ] = [ 'query' => $ query , 'time' => $ time ] ; }
Adds a query to the query log.

@param string $query  SQL query
@param array  $params Query parameters
@param float  $start  Start time in microseconds
Adds a query to the query log .