You are here

abstract function LoggerInterfaceTest::getLogs in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/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 lib/Psr/Log/Test/LoggerInterfaceTest.php
LoggerInterfaceTest::testLogsAtAllLevels in lib/Psr/Log/Test/LoggerInterfaceTest.php
@dataProvider provideLevelsAndMessages

File

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