Database::$logs

Same name in other branches
  1. 7.x includes/database/database.inc \Database::logs
  2. 9 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::logs
  3. 10 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::logs
  4. 11.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::logs

An array of active query log objects.

Every connection has one and only one logger object for all targets and logging keys.

array( '$db_key' => DatabaseLog object. );

Type: array

File

core/lib/Drupal/Core/Database/Database.php, line 81

Class

Database
Primary front-controller for the database system.

Namespace

Drupal\Core\Database

Code

protected static $logs = [];

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