We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e29ced commit 9cc5f84Copy full SHA for 9cc5f84
src/Panel/SqlLogPanel.php
@@ -64,7 +64,9 @@ public function initialize()
64
$logger = new DebugLog($logger, $name, $includeSchemaReflection);
65
66
$connection->logQueries(true);
67
- $connection->setLogger($logger);
+ if (method_exists($connection, 'setLogger')) {
68
+ $connection->setLogger($logger);
69
+ }
70
$this->_loggers[] = $logger;
71
}
72
0 commit comments