Properties

$res

$res : 

Type

Methods

testWriteHeader()

testWriteHeader() 

testWriteCustomHostHeader()

testWriteCustomHostHeader() 

testWriteV2()

testWriteV2() 

testWriteV2Notify()

testWriteV2Notify() 

testRoomSpaces()

testRoomSpaces() 

testWriteContent()

testWriteContent(  $content) 

Parameters

$content

testWriteContentV1WithoutName()

testWriteContentV1WithoutName() 

testWriteContentNotify()

testWriteContentNotify(  $content) 

Parameters

$content

testWriteContentV2()

testWriteContentV2(  $content) 

Parameters

$content

testWriteContentV2Notify()

testWriteContentV2Notify(  $content) 

Parameters

$content

testWriteContentV2WithoutName()

testWriteContentV2WithoutName() 

testWriteWithComplexMessage()

testWriteWithComplexMessage() 

testWriteTruncatesLongMessage()

testWriteTruncatesLongMessage() 

testWriteWithErrorLevelsAndColors()

testWriteWithErrorLevelsAndColors(  $level,   $expectedColor) 

Parameters

$level
$expectedColor

provideLevelColors()

provideLevelColors() 

testHandleBatch()

testHandleBatch(  $records,   $expectedColor) 

Parameters

$records
$expectedColor

provideBatchRecords()

provideBatchRecords() 

testCreateWithTooLongName()

testCreateWithTooLongName() 

testCreateWithTooLongNameV2()

testCreateWithTooLongNameV2() 

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

createHandler()

createHandler(  $token = 'myToken',   $room = 'room1',   $name = 'Monolog',   $notify = false,   $host = 'api.hipchat.com',   $version = 'v1') 

Parameters

$token
$room
$name
$notify
$host
$version