Feat: Streamline and extend logging
This commit is contained in:
@@ -29,7 +29,11 @@ class DeleteController extends AbstractController
|
||||
|
||||
$this->addFlash('success', 'Die Teilnahme an der Fortbilundg wurde gelöscht');
|
||||
$this->logger->info('Delete training attendance', [
|
||||
'teamer' => $teamer->getUuid(),
|
||||
'attendance_id' => $attendance->getId(),
|
||||
'teamer_id' => $teamer->getId(),
|
||||
'teamer_name' => (string) $teamer,
|
||||
'training_id' => $attendance->getTraining()->getId(),
|
||||
'training_name' => $attendance->getTraining()->getName(),
|
||||
]);
|
||||
|
||||
return $this->redirectToRoute('app_admin_teamer_skills', ['uuid' => $teamer->getUuid()]);
|
||||
|
||||
Reference in New Issue
Block a user