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

$output  : DummyOutput
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>

provideLevelsAndMessages()

public provideLevelsAndMessages() : mixed
Return values
mixed

provideOutputMappingParams()

public provideOutputMappingParams() : mixed
Return values
mixed

testContextCanContainAnything()

public testContextCanContainAnything() : mixed
Return values
mixed

testContextExceptionKeyCanBeExceptionOrOtherValues()

public testContextExceptionKeyCanBeExceptionOrOtherValues() : mixed
Return values
mixed

testContextReplacement()

public testContextReplacement() : mixed
Return values
mixed

testLogsAtAllLevels()

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

provideLevelsAndMessages

Return values
mixed

testObjectCastToString()

public testObjectCastToString() : mixed
Return values
mixed

testOutputMapping()

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

provideOutputMappingParams

Return values
mixed

testThrowsOnInvalidLevel()

public testThrowsOnInvalidLevel() : mixed
Return values
mixed

Search results