diff --git a/src/Service/InstallationService.php b/src/Service/InstallationService.php index d0b3f41..30be88c 100644 --- a/src/Service/InstallationService.php +++ b/src/Service/InstallationService.php @@ -56,7 +56,7 @@ public function __construct( */ public function install() { - $this->logger->debug("PetStoreBundle -> Install()"); + $this->logger->debug("PetStoreBundle -> Install()", ['plugin' => 'common-gateway/pet-store-bundle']); $this->checkDataConsistency(); @@ -70,7 +70,7 @@ public function install() */ public function update() { - $this->logger->debug("PetStoreBundle -> Update()"); + $this->logger->debug("PetStoreBundle -> Update()", ['plugin' => 'common-gateway/pet-store-bundle']); $this->checkDataConsistency(); @@ -84,7 +84,7 @@ public function update() */ public function uninstall() { - $this->logger->debug("PetStoreBundle -> Uninstall()"); + $this->logger->debug("PetStoreBundle -> Uninstall()", ['plugin' => 'common-gateway/pet-store-bundle']); // Do some cleanup to uninstall correctly... diff --git a/src/Service/PetStoreService.php b/src/Service/PetStoreService.php index dfa8ea8..585c778 100644 --- a/src/Service/PetStoreService.php +++ b/src/Service/PetStoreService.php @@ -69,7 +69,7 @@ public function petStoreHandler(array $data, array $configuration): array $this->data = $data; $this->configuration = $configuration; - $this->logger->debug("PetStoreService -> petStoreHandler()"); + $this->logger->debug("PetStoreService -> petStoreHandler()", ['plugin' => 'common-gateway/pet-store-bundle']); return ['response' => 'Hello. Your PetStoreBundle works'];