mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 00:56:08 +02:00
Add array of records to MailHandler::send to allow analysis of individual records before sending email
This commit is contained in:
@@ -42,7 +42,7 @@ class NativeMailerHandler extends MailHandler
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function send($content)
|
||||
protected function send($content, array $records)
|
||||
{
|
||||
mail($this->to, $this->subject, wordwrap($content, 70), $this->headers);
|
||||
}
|
||||
|
Reference in New Issue
Block a user