Feat: Streamline and extend logging

This commit is contained in:
Björn Fromme committed 2023-10-21 10:01:25 +02:00
1 parent 124307616c
commit 5ac8ea7491
52 files changed
+261 -74

No files matched your search

@@ -34,7 +34,8 @@ class CreateController extends AbstractController
$this->addFlash('success', 'Das Job-Profil wurde angelegt');
$this->logger->info('Create Job profile', [
'job_profile' => $jobProfile->getName(),
'job_profile_id' => $jobProfile->getId(),
'job_profile_name' => $jobProfile->getName(),
]);
return $this->redirectToRoute('app_admin_system_job_profile_index');
@@ -27,7 +27,8 @@ class DeleteController extends AbstractController
$this->addFlash('success', 'Das Job-Profil wurde gelöscht');
$this->logger->info('Delete job-profile', [
'job_profile' => $jobProfile->getName(),
'job_profile_id' => $jobProfile->getId(),
'job_profile_name' => $jobProfile->getName(),
]);
return $this->redirectToRoute('app_admin_system_job_profile_index');
@@ -32,7 +32,8 @@ class EditController extends AbstractController
$this->addFlash('success', 'Das Job-Profil wurde aktualisiert');
$this->logger->info('Edit Job profile', [
'job_profile' => $jobProfile->getName(),
'job_profile_id' => $jobProfile->getId(),
'job_profile_name' => $jobProfile->getName(),
]);
return $this->redirectToRoute('app_admin_system_job_profile_index');