public Connection::setLogger(Log $logger)
Associates a logging object with this connection.
\Drupal\Core\Database\Log $logger: The logging object we want to use.
public function setLogger(Log $logger) { $this->logger = $logger; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Connection.php/function/Connection::setLogger/8.1.x