Skip to content

Commit

Permalink
Change logic for logResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
Hectorhammett committed Sep 27, 2024
1 parent 3cc71a4 commit 8699369
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Logging/LoggingTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ private function logResponse(LogEvent $event): void
];

$infoEvent = array_filter($infoEvent, fn ($value) => !is_null($value));
$infoEvent['jsonPayload'] = array_filter(
$infoEvent['jsonPayload'],
fn ($value) => !is_null($value)
);

$this->logger->info((string) json_encode($infoEvent));
}
Expand Down

0 comments on commit 8699369

Please sign in to comment.