Inherit logger as Trait

This commit is contained in:
the-djmaze 2023-04-11 10:56:28 +02:00
parent b5b1d5f88a
commit 0a3effc6ba
27 changed files with 157 additions and 199 deletions

View file

@ -196,7 +196,7 @@ trait Messages
}
catch (\Throwable $oException)
{
$this->Logger()->WriteException($oException, \LOG_ERR);
$this->logException($oException, \LOG_ERR);
}
}
@ -253,7 +253,7 @@ trait Messages
}
catch (\Throwable $oException)
{
$this->Logger()->WriteException($oException, \LOG_ERR);
$this->logException($oException, \LOG_ERR);
}
}
@ -297,7 +297,7 @@ trait Messages
}
catch (\Throwable $oException)
{
$this->Logger()->WriteException($oException);
$this->logException($oException);
}
return $this->TrueResponse();