src/Connection.php
public function enableQueryLog() {
		$this->loggingQueries = true;

		if ( ! $this->logger ) {
			$this->setLogger( new QueryLogger );
		}

		return $this;
	}
public function enableQueryLog() {
		$this->loggingQueries = true;

		if ( ! $this->logger ) {
			$this->setLogger( new QueryLogger );
		}

		return $this;
	}
public function enableQueryLog ( ) { $ this -> loggingQueries = true ; if ( ! $ this -> logger ) { $ this -> setLogger ( new QueryLogger ) ; } return $ this ; }
Enable the query log on the connection.

@return $this
Enable the query log on the connection .