`if ($this->queryLogger instanceof Logging\QueryLogger) {`