Constructs a DbLog object.
\Drupal\Core\Database\Connection $connection: The database connection object.
\Drupal\Core\Logger\LogMessageParserInterface $parser: The parser to use when extracting message variables.
public function __construct(Connection $connection, LogMessageParserInterface $parser) { $this->connection = $connection; $this->parser = $parser; }