From 1789d2612c5deb0e8d3b8803a19fa4488a548471 Mon Sep 17 00:00:00 2001 From: darkdef Date: Sun, 21 Jan 2024 12:54:07 +0300 Subject: [PATCH] fix --- src/Driver/Pdo/AbstractPdoCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Driver/Pdo/AbstractPdoCommand.php b/src/Driver/Pdo/AbstractPdoCommand.php index 506bbadea..3f632e3ce 100644 --- a/src/Driver/Pdo/AbstractPdoCommand.php +++ b/src/Driver/Pdo/AbstractPdoCommand.php @@ -260,7 +260,7 @@ protected function internalGetQueryResult(int $queryMode): mixed */ protected function logQuery(string $rawSql, string $category): void { - $this->logger?->log(LogLevel::INFO, $rawSql, [$logCategory, 'type' => LogType::QUERY]); + $this->logger?->log(LogLevel::INFO, $rawSql, [$category, 'type' => LogType::QUERY]); } protected function queryInternal(int $queryMode): mixed