public function log(string $sql, array $parameters = []): void
    {
        $message = sprintf('[SQL]: %s', $this->removeWhitespace($sql));
        $this->logger->log($this->logLevel, $message, $parameters);
    }
public function log(string $sql, array $parameters = []): void
    {
        $message = sprintf('[SQL]: %s', $this->removeWhitespace($sql));
        $this->logger->log($this->logLevel, $message, $parameters);
    }
public function log ( string $ sql , array $ parameters = [ ] ) : void { $ message = sprintf ( '[SQL]: %s' , $ this -> removeWhitespace ( $ sql ) ) ; $ this -> logger -> log ( $ this -> logLevel , $ message , $ parameters ) ; }
Logs SQL and parameters

@param string $sql        The SQL statement
@param array  $parameters The parameters

@return void
Logs SQL and parameters