You are here

abstract function LoggerInterfaceTest::getLogs in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php \Psr\Log\Test\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 vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php
LoggerInterfaceTest::testLogsAtAllLevels in vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php
@dataProvider provideLevelsAndMessages
1 method overrides LoggerInterfaceTest::getLogs()
ConsoleLoggerTest::getLogs in vendor/symfony/console/Tests/Logger/ConsoleLoggerTest.php
This must return the log messages in order with a simple formatting: "<LOG LEVEL> <MESSAGE>"

File

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();