Feat: Streamline and extend logging
This commit is contained in:
@@ -61,7 +61,8 @@ class EditController extends AbstractController
|
||||
$this->entityManager->flush();
|
||||
$this->addFlash('success', 'Der Ansprechpartner wurde aktualisiert');
|
||||
$this->logger->info('Edit contact', [
|
||||
'contact' => $contact->getName(),
|
||||
'contact_id' => $contact->getId(),
|
||||
'contact_name' => $contact->getName(),
|
||||
]);
|
||||
|
||||
$response->setCloseAndRedirect($this->generateUrl('app_admin_system_contact_index'));
|
||||
|
||||
Reference in New Issue
Block a user