29 if ($record[
'level'] < $this->level) {
51 protected function write(array $record)
53 $this->
send((
string) $record[
'formatted'], array($record));
58 $highestRecord =
null;
60 if ($highestRecord ===
null || $highestRecord[
'level'] < $record[
'level']) {
61 $highestRecord = $record;
65 return $highestRecord;
An exception for terminatinating execution or to throw for unit testing.
getFormatter()
{Gets the formatter.FormatterInterface}
Base Handler class providing the Handler structure.
processRecord(array $record)
Processes a record.
Base class for all mail handlers.
handleBatch(array $records)
{{Handles a set of records at once.}}
getHighestRecord(array $records)
send($content, array $records)
Send a mail with the given content.
write(array $record)
{Writes the record down to the log of the implementing handler.void}