Feat: Streamline and extend logging
This commit is contained in:
@@ -69,7 +69,8 @@ class UserDataHandler
|
||||
$teamer->setCrmSelections($crmSelections);
|
||||
$user->setTeamer($teamer);
|
||||
$this->logger->info('Create teamer', [
|
||||
'uuid' => $teamer->getUuid(),
|
||||
'id' => $teamer->getId(),
|
||||
'name' => $teamer->getFullName(),
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -77,7 +78,8 @@ class UserDataHandler
|
||||
$this->entityManager->flush();
|
||||
|
||||
$this->logger->info('Create user', [
|
||||
'uuid' => $user->getUuid(),
|
||||
'id' => $user->getId(),
|
||||
'email' => $user->getEmail(),
|
||||
]);
|
||||
|
||||
return $user;
|
||||
@@ -103,6 +105,11 @@ class UserDataHandler
|
||||
;
|
||||
}
|
||||
|
||||
$this->logger->info('Update user', [
|
||||
'id' => $user->getId(),
|
||||
'email' => $user->getEmail(),
|
||||
]);
|
||||
|
||||
$this->entityManager->flush();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user