private function logQuery($query, $result) {
		
		$subtext = (int)$result . ' ' . (1==$result ? 'row' : 'rows');

		$logger = Logger::getInstance();
		$logger->addEvent($query, 'query', $subtext);
		
	}
private function logQuery($query, $result) {
		
		$subtext = (int)$result . ' ' . (1==$result ? 'row' : 'rows');

		$logger = Logger::getInstance();
		$logger->addEvent($query, 'query', $subtext);
		
	}
private function logQuery ( $ query , $ result ) { $ subtext = ( int ) $ result . ' ' . ( 1 == $ result ? 'row' : 'rows' ) ; $ logger = Logger :: getInstance ( ) ; $ logger -> addEvent ( $ query , 'query' , $ subtext ) ; }
Adds an entry item on system log.

@param	string	SQL query.
@param	int		Number of items in result-set or affected rows.
Adds an entry item on system log .