diff --git a/src/CorrelationIdServiceProvider.php b/src/CorrelationIdServiceProvider.php index 4f1cb25..3664f19 100644 --- a/src/CorrelationIdServiceProvider.php +++ b/src/CorrelationIdServiceProvider.php @@ -91,8 +91,6 @@ protected function bootRequestGetUniqueIdMacro(): void return $this->attributes->get('uuid'); }); - } else { - Log::warning('Request::getUniqueId() already exists, skipping macro registration.'); } } @@ -107,8 +105,6 @@ protected function bootRequestGetCorrelationIdMacro(): void // Sanitize the correlation id as a safety precaution return preg_replace(CorrelationIdServiceProvider::$sanitize, '', $this->header(CorrelationIdServiceProvider::getCorrelationIdHeaderName())); }); - } else { - Log::warning('Request::getCorrelationId() already exists, skipping macro registration.'); } } @@ -123,8 +119,6 @@ protected function bootRequestGetClientRequestIdMacro(): void // Sanitize the correlation id as a safety precaution return preg_replace(CorrelationIdServiceProvider::$sanitize, '', $this->header(CorrelationIdServiceProvider::getClientRequestIdHeaderName())); }); - } else { - Log::warning('Request::getClientRequestId() already exists, skipping macro registration.'); } } }