Connection::$logger

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::logger
  2. 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::logger
  3. 11.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::logger

The current database logging object for this connection.

Type: \Drupal\Core\Database\Log|null

File

core/lib/Drupal/Core/Database/Connection.php, line 56

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $logger = NULL;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.