$processors
$processors : callable[]
SendGridrHandler uses the SendGrid API v2 function to send Log emails, more information in https://sendgrid.com/docs/API_Reference/Web_API/mail.html
$processors : callable[]
$formatter : ?\Monolog\Formatter\FormatterInterface
$level : int
$bubble : bool
$apiUser : string
The SendGrid API User
$apiKey : string
The SendGrid API Key
$from : string
The email addresses to which the message will be sent
$to : string[]
The email addresses to which the message will be sent
$subject : string
The subject of the email
__construct(string $apiUser, string $apiKey, string $from, string|string[] $to, string $subject, mixed $level = Logger::ERROR, bool $bubble = true) : mixed
string | $apiUser | The SendGrid API User |
string | $apiKey | The SendGrid API Key |
string | $from | The sender of the email |
string|string[] | $to | The recipients of the email |
string | $subject | The subject of the mail |
mixed | $level | |
bool | $bubble |