private logException ( string $message, Exception $exception ) : boolean | ||
$message | string | A formatted error message |
$exception | Exception | The exception that has been thrown |
return | boolean | Whether the record has been processed |
private function logException($message, $exception)
{
return $this->app['logger.system']->error($message . ': ' . $exception->getMessage(), ['event' => 'exception', 'exception' => $exception]);
}