Skip to content

Commit

Permalink
Add plugin to monologs
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoLouwerse committed Nov 28, 2023
1 parent 7d1668d commit e3b2cf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Service/InstallationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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();

Expand All @@ -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...

Check failure on line 89 in src/Service/InstallationService.php

View workflow job for this annotation

GitHub Actions / build

There must be no blank line following an inline comment

Expand Down
2 changes: 1 addition & 1 deletion src/Service/PetStoreService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];

Expand Down

0 comments on commit e3b2cf5

Please sign in to comment.