Feat: Streamline and extend logging
This commit is contained in:
@@ -27,7 +27,8 @@ class DeleteController extends AbstractController
|
||||
|
||||
$this->addFlash('success', 'Die Fortbildung wurde gelöscht');
|
||||
$this->logger->info('Delete training', [
|
||||
'training' => $training->getName(),
|
||||
'training_id' => $training->getId(),
|
||||
'training_name' => $training->getName(),
|
||||
]);
|
||||
|
||||
return $this->redirectToRoute('app_admin_system_training_index');
|
||||
|
||||
Reference in New Issue
Block a user