DbLog::$connection

Same name in other branches
  1. 9 core/modules/dblog/src/Logger/DbLog.php \Drupal\dblog\Logger\DbLog::connection
  2. 10 core/modules/dblog/src/Logger/DbLog.php \Drupal\dblog\Logger\DbLog::connection
  3. 11.x core/modules/dblog/src/Logger/DbLog.php \Drupal\dblog\Logger\DbLog::connection

The database connection object.

Type: \Drupal\Core\Database\Connection

File

core/modules/dblog/src/Logger/DbLog.php, line 30

Class

DbLog
Logs events in the watchdog database table.

Namespace

Drupal\dblog\Logger

Code

protected $connection;

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