8 calls to Database::getLog()
- 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.
 - LoggingTest::testGetLoggingWrongKey in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LoggingTest.php  - Tests that getLog with a wrong key return an empty array.
 - ViewUI::endQueryCapture in core/
modules/ views_ui/ src/ ViewUI.php  - Add the list of queries run during render to build info.
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.