fix logger settings

This commit is contained in:
Philipp Holzer 2020-01-31 19:40:50 +01:00
parent fc370f74ea
commit 9ba8735b4a
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -45,11 +45,11 @@ class Emailer
*/
public function send(IEmail $email)
{
$this->logger->warning('start', ['email' => $email]);
$this->logger->debug('start emailing', ['email' => $email]);
Hook::callAll('emailer_send_prepare', $email);
$this->logger->warning('end', ['email' => $email]);
$this->logger->debug('End Hook call', ['email' => $email]);
if (empty($email)) {
return true;