fix logger settings
This commit is contained in:
parent
fc370f74ea
commit
9ba8735b4a
|
@ -45,11 +45,11 @@ class Emailer
|
||||||
*/
|
*/
|
||||||
public function send(IEmail $email)
|
public function send(IEmail $email)
|
||||||
{
|
{
|
||||||
$this->logger->warning('start', ['email' => $email]);
|
$this->logger->debug('start emailing', ['email' => $email]);
|
||||||
|
|
||||||
Hook::callAll('emailer_send_prepare', $email);
|
Hook::callAll('emailer_send_prepare', $email);
|
||||||
|
|
||||||
$this->logger->warning('end', ['email' => $email]);
|
$this->logger->debug('End Hook call', ['email' => $email]);
|
||||||
|
|
||||||
if (empty($email)) {
|
if (empty($email)) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue