6 calls to Database::startLog()

LoggingTest::testEnableLogging in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
Tests that we can log the existence of a query.
LoggingTest::testEnableMultiConnectionLogging in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
Tests that we can log queries separately on different connections.
LoggingTest::testEnableMultiLogging in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
Tests that we can run two logs in parallel.
LoggingTest::testEnableTargetLogging in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
Tests logging queries against multiple targets on the same connection.
LoggingTest::testEnableTargetLoggingNoTarget in drupal/core/modules/system/lib/Drupal/system/Tests/Database/LoggingTest.php
Tests that logs to separate targets utilize the same connection properly.
ViewUI::startQueryCapture in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Set up query capturing.