public Connection::setLogger(Log $logger)
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 447
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\Database
Code
1 2 3 | public function setLogger(Log $logger ) { $this ->logger = $logger ; } |
Please login to continue.