protected function setMailHandler(string $emailTo, string $emailSubject, string $emailFrom, int $logLevel)
    {
        $mail = new NativeMailerHandler($emailTo, $emailSubject, $emailFrom, $logLevel);
        $this->pushHandler($mail);
    }
protected function setMailHandler(string $emailTo, string $emailSubject, string $emailFrom, int $logLevel)
    {
        $mail = new NativeMailerHandler($emailTo, $emailSubject, $emailFrom, $logLevel);
        $this->pushHandler($mail);
    }
protected function setMailHandler ( string $ emailTo , string $ emailSubject , string $ emailFrom , int $ logLevel ) { $ mail = new NativeMailerHandler ( $ emailTo , $ emailSubject , $ emailFrom , $ logLevel ) ; $ this -> pushHandler ( $ mail ) ; }
Set up the logger to send an email
@param string $emailTo
@param string $emailSubject
@param string $emailFrom
@param int $logLevel
Set up the logger to send an email