Documentation

ConsoleLoggerTest extends TestCase
in package

Console logger test.

Tags
author

Kévin Dunglas dunglas@gmail.com

author

Jordi Boggiano j.boggiano@seld.be

Table of Contents

Properties

$output  : DummyOutput

Methods

getLogger()  : LoggerInterface
getLogs()  : array<string|int, string>
Return the log messages in order.
provideLevelsAndMessages()  : mixed
provideOutputMappingParams()  : mixed
testContextCanContainAnything()  : mixed
testContextExceptionKeyCanBeExceptionOrOtherValues()  : mixed
testContextReplacement()  : mixed
testHasErrored()  : mixed
testImplements()  : mixed
testLogsAtAllLevels()  : mixed
testObjectCastToString()  : mixed
testOutputMapping()  : mixed
testThrowsOnInvalidLevel()  : mixed

Properties

Methods

getLogs()

Return the log messages in order.

public getLogs() : array<string|int, string>
Return values
array<string|int, string>

testContextCanContainAnything()

public testContextCanContainAnything() : mixed

testContextExceptionKeyCanBeExceptionOrOtherValues()

public testContextExceptionKeyCanBeExceptionOrOtherValues() : mixed

testLogsAtAllLevels()

public testLogsAtAllLevels(mixed $level, mixed $message) : mixed
Parameters
$level : mixed
$message : mixed
Tags
dataProvider

provideLevelsAndMessages

testOutputMapping()

public testOutputMapping(mixed $logLevel, mixed $outputVerbosity, mixed $isOutput[, mixed $addVerbosityLevelMap = array() ]) : mixed
Parameters
$logLevel : mixed
$outputVerbosity : mixed
$isOutput : mixed
$addVerbosityLevelMap : mixed = array()
Tags
dataProvider

provideOutputMappingParams

testThrowsOnInvalidLevel()

public testThrowsOnInvalidLevel() : mixed
Tags
expectedException

\Psr\Log\InvalidArgumentException


        
On this page

Search results