Properties

$res

$res : resource

Type

resource

Methods

setUp()

setUp() 

testWriteHeader()

testWriteHeader() 

testWriteContent()

testWriteContent() 

testWriteContentUsesFormatterIfProvided()

testWriteContentUsesFormatterIfProvided() 

testWriteContentWithEmoji()

testWriteContentWithEmoji() 

testWriteContentWithColors()

testWriteContentWithColors(  $level,   $expectedColor) 

Parameters

$level
$expectedColor

testWriteContentWithPlainTextMessage()

testWriteContentWithPlainTextMessage() 

provideLevelColors()

provideLevelColors() 

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',   $channel = 'channel1',   $username = 'Monolog',   $useAttachment = true,   $iconEmoji = null,   $useShortAttachment = false,   $includeExtra = false) 

Parameters

$token
$channel
$username
$useAttachment
$iconEmoji
$useShortAttachment
$includeExtra