You are here

public function ConsoleLoggerTest::getLogs in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Tests/Logger/ConsoleLoggerTest.php \Symfony\Component\Console\Tests\Logger\ConsoleLoggerTest::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[]

Overrides LoggerInterfaceTest::getLogs

File

vendor/symfony/console/Tests/Logger/ConsoleLoggerTest.php, line 54

Class

ConsoleLoggerTest
Console logger test.

Namespace

Symfony\Component\Console\Tests\Logger

Code

public function getLogs() {
  return $this->output
    ->getLogs();
}