Properties

$lastError

$lastError : 

This var should be private but then the anonymous function in the `setUp` method won't be able to set it. `$this` cant't be used in the anonymous function in `setUp` because PHP 5.3 does not support it.

Type

Methods

setUp()

setUp() 

testRotationCreatesNewFile()

testRotationCreatesNewFile() 

testRotation()

testRotation(  $createFile,   $dateFormat,   $timeCallback) 

Parameters

$createFile
$dateFormat
$timeCallback

rotationTests()

rotationTests() 

testAllowOnlyFixedDefinedDateFormats()

testAllowOnlyFixedDefinedDateFormats(  $dateFormat,   $valid) 

Parameters

$dateFormat
$valid

dateFormatProvider()

dateFormatProvider() 

testDisallowFilenameFormatsWithoutDate()

testDisallowFilenameFormatsWithoutDate(  $filenameFormat,   $valid) 

Parameters

$filenameFormat
$valid

filenameFormatProvider()

filenameFormatProvider() 

testReuseCurrentFile()

testReuseCurrentFile() 

tearDown()

tearDown() 

getRecord()

getRecord(  $level = \Monolog\Logger::WARNING,   $message = 'test',   $context = array()) : array

Parameters

$level
$message
$context

Returns

array —

Record

getMultipleRecords()

getMultipleRecords() : array

Returns

array

getIdentityFormatter()

getIdentityFormatter() : \Monolog\Monolog\Formatter\FormatterInterface

Returns

\Monolog\Monolog\Formatter\FormatterInterface

assertErrorWasTriggered()

assertErrorWasTriggered(  $code,   $message) 

Parameters

$code
$message