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