28 'source' =>
'test_source',
29 'from_address' =>
'source@test.com',
30 'subject' =>
'in test_source: WARNING - test',
32 'tags' => array(
'#logs',
'#warning',
'#test'),
33 'project' =>
'test_source',
35 $formatted = $formatter->format($record);
37 $this->assertEquals($expected, $formatted[
'flowdock']);
50 $formatted = $formatter->formatBatch(
$records);
52 $this->assertArrayHasKey(
'flowdock', $formatted[0]);
53 $this->assertArrayHasKey(
'flowdock', $formatted[1]);
const DEBUG
Detailed debug information.
getRecord($level=Logger::WARNING, $message='test', $context=array())
const WARNING
Exceptional occurrences that are not errors.