-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
Core or SDK?
Platform/SDK
Which part? Which one?
sentry/sentry-symfony package
Description
In the Symfony integration guide there is some documentation to integrate it with Monolog: https://docs.sentry.io/platforms/php/guides/symfony/
I'm going crazy between closed issues and non-working examples for old versions of the SDK to send a message with Monolog, adding the message's own context, for example:
$this->logger->error('Unexpected entity state.', ['state' => $state, 'entity' => $entity]);
Suggested Solution
Add a definitive documentation for current version to add the capacity to log Monolog's message context to Sentry's log
florianajir and brutto