Properties

$jsonPrettyPrintFlag

$jsonPrettyPrintFlag : 

Type

Methods

dataGetAttachmentColor()

dataGetAttachmentColor() 

testGetAttachmentColor()

testGetAttachmentColor(integer  $logLevel, string  $expectedColour) 

Parameters

integer $logLevel
string $expectedColour

RGB hex color or name of Slack color

testAddsChannel()

testAddsChannel() 

testNoUsernameByDefault()

testNoUsernameByDefault() 

dataStringify()

dataStringify() : array

Returns

array

testStringify()

testStringify(  $fields,   $expectedResult) 

Parameters

$fields
$expectedResult

testAddsCustomUsername()

testAddsCustomUsername() 

testNoIcon()

testNoIcon() 

testAddsIcon()

testAddsIcon() 

testAttachmentsNotPresentIfNoAttachment()

testAttachmentsNotPresentIfNoAttachment() 

testAddsOneAttachment()

testAddsOneAttachment() 

testTextEqualsMessageIfNoAttachment()

testTextEqualsMessageIfNoAttachment() 

testTextEqualsFormatterOutput()

testTextEqualsFormatterOutput() 

testAddsFallbackAndTextToAttachment()

testAddsFallbackAndTextToAttachment() 

testMapsLevelToColorAttachmentColor()

testMapsLevelToColorAttachmentColor() 

testAddsShortAttachmentWithoutContextAndExtra()

testAddsShortAttachmentWithoutContextAndExtra() 

testAddsShortAttachmentWithContextAndExtra()

testAddsShortAttachmentWithContextAndExtra() 

testAddsLongAttachmentWithoutContextAndExtra()

testAddsLongAttachmentWithoutContextAndExtra() 

testAddsLongAttachmentWithContextAndExtra()

testAddsLongAttachmentWithContextAndExtra() 

testAddsTimestampToAttachment()

testAddsTimestampToAttachment() 

testExcludeExtraAndContextFields()

testExcludeExtraAndContextFields() 

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()