public function Connection::setLogger in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::setLogger()
Associates a logging object with this connection.
Parameters
\Drupal\Core\Database\Log $logger: The logging object we want to use.
File
- core/
lib/ Drupal/ Core/ Database/ Connection.php, line 452 - Contains \Drupal\Core\Database\Connection.
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public function setLogger(Log $logger) {
$this->logger = $logger;
}