diff --git a/src/Infrastructure/Services/TelemetryService.php b/src/Infrastructure/Services/TelemetryService.php index 28e76bb..4b8a058 100644 --- a/src/Infrastructure/Services/TelemetryService.php +++ b/src/Infrastructure/Services/TelemetryService.php @@ -29,7 +29,7 @@ public function __construct( public function hookLoggerIntoMonolog(): void { - if ($this->loggerProvider instanceof Logger) { + if ($this->logger instanceof Logger) { $this->logger->pushHandler( new Handler( $this->loggerProvider,