abstract public function LoggerInterfaceTest::getLogs in TMGMT Translator Smartling 8.3
Same name and namespace in other branches
- 8.4 vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php \Psr\Log\Test\LoggerInterfaceTest::getLogs()
- 8.2 vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php \Psr\Log\Test\LoggerInterfaceTest::getLogs()
This must return the log messages in order.
The simple formatting of the messages is: "<LOG LEVEL> <MESSAGE>".
Example ->error('Foo') would yield "error Foo".
Return value
string[]
5 calls to LoggerInterfaceTest::getLogs()
- LoggerInterfaceTest::testContextCanContainAnything in vendor/
psr/ log/ Psr/ Log/ Test/ LoggerInterfaceTest.php - LoggerInterfaceTest::testContextExceptionKeyCanBeExceptionOrOtherValues in vendor/
psr/ log/ Psr/ Log/ Test/ LoggerInterfaceTest.php - LoggerInterfaceTest::testContextReplacement in vendor/
psr/ log/ Psr/ Log/ Test/ LoggerInterfaceTest.php - LoggerInterfaceTest::testLogsAtAllLevels in vendor/
psr/ log/ Psr/ Log/ Test/ LoggerInterfaceTest.php - @dataProvider provideLevelsAndMessages
- LoggerInterfaceTest::testObjectCastToString in vendor/
psr/ log/ Psr/ Log/ Test/ LoggerInterfaceTest.php
File
- vendor/
psr/ log/ Psr/ Log/ Test/ LoggerInterfaceTest.php, line 30
Class
- LoggerInterfaceTest
- Provides a base test class for ensuring compliance with the LoggerInterface.
Namespace
Psr\Log\TestCode
public abstract function getLogs();