abstract function LoggerInterfaceTest::getLogs

This must return the log messages in order with a simple formatting: "<LOG LEVEL> <MESSAGE>"

Example ->error('Foo') would yield "error Foo"

Return value

string[]

2 calls to LoggerInterfaceTest::getLogs()
LoggerInterfaceTest::testContextReplacement in drupal/core/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php
LoggerInterfaceTest::testLogsAtAllLevels in drupal/core/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php
@dataProvider provideLevelsAndMessages

File

drupal/core/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php, line 26

Class

LoggerInterfaceTest
Provides a base test class for ensuring compliance with the LoggerInterface

Namespace

Psr\Log\Test

Code

abstract function getLogs();