You are here

abstract public function LoggerInterfaceTest::getLogs in Lockr 7.3

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\Test

Code

public abstract function getLogs();