Properties

$reportedExceptionArguments

$reportedExceptionArguments : array

Type

array

$rollbarNotifier

$rollbarNotifier : \PHPUnit_Framework_MockObject_MockObject

Type

\PHPUnit_Framework_MockObject_MockObject

Methods

testExceptionLogLevel()

testExceptionLogLevel() 

When reporting exceptions to Rollbar the level has to be set in the payload data

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

setUp()

setUp() 

setupRollbarNotifierMock()

setupRollbarNotifierMock() 

createHandler()

createHandler() 

createExceptionRecord()

createExceptionRecord(  $level = \Monolog\Logger::DEBUG,   $message = 'test',   $exception = null) 

Parameters

$level
$message
$exception