Database::$logs
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::logs
- 8.9.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::logs
- 10 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::logs
- 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
-
includes/
database/ database.inc, line 1494
Class
- Database
- Primary front-controller for the database system.
Code
protected static $logs = array();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.