7 calls to Database::startLog()
- EndOfTransactionQueriesTest::testEntitySave in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ EndOfTransactionQueriesTest.php  - Tests an entity save.
 - LoggingTest::testEnableLogging in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php  - Tests that we can log the existence of a query.
 - LoggingTest::testEnableMultiConnectionLogging in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php  - Tests that we can log queries separately on different connections.
 - LoggingTest::testEnableMultiLogging in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php  - Tests that we can run two logs in parallel.
 - LoggingTest::testEnableTargetLogging in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php  - Tests logging queries against multiple targets on the same connection.
 - LoggingTest::testEnableTargetLoggingNoTarget in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php  - Tests that logs to separate targets use the same connection properly.
 - ViewUI::startQueryCapture in core/
modules/ views_ui/ src/ ViewUI.php  - Set up query capturing.
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.