protected logException ( string $message, Exception $exception ) : boolean | ||
$message | string | |
$exception | Exception | |
Résultat | boolean |
protected function logException($message, $exception)
{
if (!isset($this->logger)) {
return false;
}
$this->logger->critical($message, array('exception' => $exception));
return true;
}